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