public function testSetAndGetAction() { $f = new Form('/submit', 'post'); $f->setAction('/action'); $this->assertEquals('/action', $f->getAction()); }