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

testHiddenFieldWithValue() public method

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