public function testFieldWithLabelShorthand()
{
$result = $this->form->field(array('name' => 'Enter a name'));
$this->assertTags($result, array('div' => array(), 'label' => array('for' => 'Name'), 'Enter a name', '/label', 'input' => array('type' => 'text', 'name' => 'name', 'id' => 'Name')));
}