public function testDateField() { $I = $this->codeGuy; $html = TbHtml::dateField('date', '2013-08-28', array('class' => 'input')); $input = $I->createNode($html, 'input[type=date]'); $I->seeNodeAttributes($input, array('class' => 'input', 'id' => 'date', 'name' => 'date', 'value' => '2013-08-28')); }