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