public function testFormFieldCheckboxWithCustomConfig()
{
$this->form->config(array('field-checkbox' => array('wrap' => array('class' => 'custom-field-checkbox'))));
$result = $this->form->field('checkbox', array('type' => 'checkbox'));
$this->assertTags($result, array('div' => array('class' => 'custom-field-checkbox'), array('input' => array('type' => 'hidden', 'name' => 'checkbox', 'value' => '')), array('input' => array('type' => 'checkbox', 'name' => 'checkbox', 'id' => 'Checkbox', 'value' => 1)), 'label' => array('for' => 'Checkbox'), 'Checkbox', '/label', '/div'));
}