Beispiel #1
0
 public function testRenderStartEnd()
 {
     $form = new Form();
     $form->hidden('test', '123');
     $start = $form->renderStart();
     $this->assertContains('<input type="hidden" name="test" value="123"', $start);
     $this->assertEquals('</form>', $form->renderEnd());
 }