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

testFormCreationWithBinding() public method

    public function testFormCreationWithBinding()
    {
        $record = new Record(array('model' => $this->_model, 'data' => array('id' => '5', 'author_id' => '2', 'title' => 'This is a saved post', 'body' => 'This is the body of the saved post')));
        $this->assertTags($this->form->create($record), array('form' => array('action' => "{$this->base}posts", 'method' => 'post')));
    }
FormTest