assertSame( $message, $comment->message ); } public function testConstructorWithoutMessage() { $text = '{{template|param}}'; $comment = new CommentStoreComment( null, $text ); $this->assertSame( $text, $comment->message->text() ); } }