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