/** * @covers Core\Entity\StudentGroup::setStudentInGroups * @covers Core\Entity\StudentGroup::getStudentInGroups */ public function testSetGetStudentInGroups() { $mockStudentInGroups = $this->getMockBuilder('Core\\Entity\\StudentInGroups')->getMock(); $this->studentGroup->setStudentInGroups($mockStudentInGroups); $this->assertEquals($mockStudentInGroups, $this->studentGroup->getStudentInGroups()); }
/** * {@inheritDoc} */ public function setStudentInGroups($studentInGroups) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStudentInGroups', array($studentInGroups)); return parent::setStudentInGroups($studentInGroups); }