lithium\tests\cases\template\helper\FormTest::testHiddenFieldWithId PHP Method

testHiddenFieldWithId() public method

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