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