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