/** * @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 setStudentGroup($studentGroup) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStudentGroup', array($studentGroup)); return parent::setStudentGroup($studentGroup); }