/** * @covers Core\Entity\SubjectRound::setStudentGroup * @covers Core\Entity\SubjectRound::getStudentGroup */ public function testSetGetStudentGroup() { $mockStudentGroup = $this->getMockBuilder('Core\\Entity\\StudentGroup')->getMock(); $this->subjectRound->setStudentGroup($mockStudentGroup); $this->assertEquals($mockStudentGroup, $this->subjectRound->getStudentGroup()); }
/** * {@inheritDoc} */ public function setStudentGroup(\Core\Entity\StudentGroup $studentGroup) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStudentGroup', array($studentGroup)); return parent::setStudentGroup($studentGroup); }