public function testArrayLabelledTextInput()
{
unset($this->article['required']['title']);
$this->Form->create($this->article);
$result = $this->Form->input('title', ['label' => ['foo' => 'bar', 'text' => 'Custom Title']]);
$expected = ['div' => ['class' => 'form-group text'], 'label' => ['class' => 'control-label', 'for' => 'title', 'foo' => 'bar'], 'Custom Title', '/label', 'input' => ['type' => 'text', 'name' => 'title', 'id' => 'title', 'class' => 'form-control'], '/div'];
$this->assertHtml($expected, $result);
}