public function test_form_for_returns_existing_builder() { $form = FormHelper::form_for('foo4', array()); $form2 = FormHelper::form_for('foo4'); $this->assertEquals($form, $form2); }
public function test_form_for() { $form = Tingle\FormHelper::form_for('foo', array()); $this->assertTrue($form instanceof FormBuilder); }