/**
  * {@inheritDoc}
  */
 public function getStudent()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStudent', array());
     return parent::getStudent();
 }
示例#2
0
 /**
  * @covers Core\Entity\LisUser::setStudent
  * @covers Core\Entity\LisUser::getStudent
  */
 public function testSetGetStudent()
 {
     $student = $this->getMockBuilder('Core\\Entity\\Student')->getMock();
     $this->lisuser->setStudent($student);
     $this->assertEquals($this->lisuser->getStudent(), $student);
 }