Пример #1
0
 /**
  * Error message should be stored inside contact object
  */
 public function testSetErrorMessage()
 {
     $data = array('Id' => 1, 'FirstName' => 'FirstName');
     $c = new Contact($data);
     $c->setErrorMessage('test');
     $expected = $c->getErrorMessage();
     $this->assertEquals('test', $expected);
 }