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