public function post() { $this->setMethod('POST'); return $this; }
public function testRenderPostFormOpen() { $form = new FormOpen(); $expected = '<form method="POST" action="">'; $result = $form->post()->render(); $this->assertEquals($expected, $result); }