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