/**
  * {@inheritDoc}
  */
 public function getIndependentWork()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIndependentWork', array());
     return parent::getIndependentWork();
 }
Пример #2
0
 /**
  * @covers Core\Entity\Teacher::setIndependentWork
  * @covers Core\Entity\Teacher::getIndependentWork
  */
 public function testSetGetIndependentWork()
 {
     $iw = $this->getMockBuilder('Core\\Entity\\IndependentWork')->getMock();
     $this->teacher->setIndependentWork($iw);
     $this->assertEquals($iw, $this->teacher->getIndependentWork());
 }