Example #1
0
 public function testSettersAndGettersMethods()
 {
     $this->object->setId('testprop');
     $this->assertEquals('testprop', $this->object->getId());
     $this->object->setOwner('testprop');
     $this->assertEquals('testprop', $this->object->getOwner());
     $this->object->setSubject('testprop');
     $this->assertEquals('testprop', $this->object->getSubject());
     $datetime = new DateTime();
     $this->object->setCreation($datetime);
     $this->assertEquals($datetime, $this->object->getCreation());
 }