/** * testing add string method * * @return void */ public function testAddString() { $this->object->addString('test', '*'); $this->assertEquals(array('*', PMA\libraries\Message::notice('test')), $this->object->getAddedMessages()); $this->object->addString('test', ''); $this->assertEquals(array('*', PMA\libraries\Message::notice('test'), '', PMA\libraries\Message::notice('test')), $this->object->getAddedMessages()); }