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