/** * @covers Core\Entity\IndependentWork::StudentGrade * @covers Core\Entity\IndependentWork::StudentGrade */ public function testSetGetStudentGrade() { $sgrade = $this->getMockBuilder('Core\\Entity\\StudentGrade')->getMock(); $this->independentwork->setStudentGrade($sgrade); $this->assertEquals($this->independentwork->getStudentGrade(), $sgrade); }
/** * {@inheritDoc} */ public function getStudentGrade() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStudentGrade', array()); return parent::getStudentGrade(); }