/**
  * {@inheritDoc}
  */
 public function setUpdatedBy($updatedBy)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedBy', array($updatedBy));
     return parent::setUpdatedBy($updatedBy);
 }
Beispiel #2
0
 /**
  * @covers Core\Entity\Rooms::setUpdatedBy
  * @covers Core\Entity\Rooms::getUpdatedBy
  */
 public function testSetGetUpdatedBy()
 {
     $mockUpdatedBy = $this->getMockBuilder('Core\\Entity\\LisUser')->getMock();
     $this->room->setUpdatedBy($mockUpdatedBy);
     $this->assertEquals($mockUpdatedBy, $this->room->getUpdatedBy());
 }