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