public function testInlineRadioInput()
{
$this->Form->create($this->article);
$result = $this->Form->input('published', ['inline' => true, 'type' => 'radio', 'options' => ['Yes', 'No']]);
$expected = [['div' => ['class' => 'form-group radio']], ['label' => true], 'Published', '/label', ['div' => ['class' => 'radio-inline-wrapper']], ['input' => ['type' => 'hidden', 'name' => 'published', 'value' => '']], ['label' => ['class' => 'radio-inline', 'for' => 'published-0']], ['input' => ['type' => 'radio', 'name' => 'published', 'value' => 0, 'id' => 'published-0']], 'Yes', '/label', ['label' => ['class' => 'radio-inline', 'for' => 'published-1']], ['input' => ['type' => 'radio', 'name' => 'published', 'value' => 1, 'id' => 'published-1']], 'No', '/label', '/div', '/div'];
$this->assertHtml($expected, $result);
}