public function testHiddenFieldWithId() { $result = $this->form->hidden('my_field'); $this->assertTags($result, array('input' => array('type' => 'hidden', 'name' => 'my_field', 'id' => 'MyField'))); }