Gc\View\Helper\FormMultiCheckboxTest::testRenderOptionsWithEmptyClassAndNotScalarData PHP Method

testRenderOptionsWithEmptyClassAndNotScalarData() public method

Test
    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);
    }