/**
  * {@inheritDoc}
  */
 public function getCreatedBy()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedBy', array());
     return parent::getCreatedBy();
 }
示例#2
0
 /**
  * @covers Core\Entity\Module::setCreatedBy
  * @covers Core\Entity\Module::getCreatedBy
  */
 public function testSetGetCreatedBy()
 {
     $mockLisUser = $this->getMockBuilder('Core\\Entity\\LisUser')->getMock();
     $this->module->setCreatedBy($mockLisUser);
     $this->assertEquals($mockLisUser, $this->module->getCreatedBy());
 }