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