Exemplo n.º 1
0
 /**
  * getMessage test - with empty message and with non-empty string -
  * not key in globals additional params are defined
  *
  * @return void
  */
 public function testGetMessageWithoutMessageWithStringWithParams()
 {
     $this->object->setMessage('');
     $this->object->setString('test string %s %s');
     $this->object->addParam('test param 1');
     $this->object->addParam('test param 2');
     $this->assertEquals('test string test param 1 test param 2', $this->object->getMessage());
 }