public function testFormAttributesAreSet() { $commentForm = new CommentForm($this->formStrings); $this->assertEquals('post', $commentForm->getAttribute('method')); $this->assertEquals('/rbcomment/add', $commentForm->getAttribute('action')); }