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