public function testBindingByName()
{
$post = new Record(array('model' => $this->_model, 'data' => array('author_id' => '2', 'title' => 'New post', 'body' => 'New post body')));
$info = new Record(array('model' => $this->_model2, 'data' => array('section' => 'New post section', 'notes' => 'New post notes')));
$this->form->create(compact('post', 'info'));
$this->assertEqual($post, $this->form->binding('post'));
$this->assertEqual($info, $this->form->binding('info'));
}