public testRenderOptionsWithEmptyClassAndNotScalarData ( ) : void | ||
return | void |
public function testRenderOptionsWithEmptyClassAndNotScalarData()
{
$this->element->setValueOptions(array(array('selected' => true, 'disabled' => true, 'label_attributes' => array(), 'attributes' => array())));
$markup = $this->object->render($this->element);
$this->assertContains('type="checkbox"', $markup);
$this->assertContains('name="foo[]"', $markup);
}