/** * Tests if set method is working by setting and getting the value * */ public function testSetText() { $moMessage = new moMessageEntity(); $text = "hello this is a text."; $moMessage->setText($text); $this->assertEquals($moMessage->getText(), $text); }