public function testBasicCheckboxInput()
{
$this->Form->create($this->article);
$result = $this->Form->input('published');
$expected = ['div' => ['class' => 'checkbox'], 'input' => ['type' => 'hidden', 'name' => 'published', 'value' => 0], 'label' => ['for' => 'published'], ['input' => ['type' => 'checkbox', 'name' => 'published', 'id' => 'published', 'value' => 1]], 'Published', '/label', '/div'];
$this->assertHtml($expected, $result);
}