/**
  * {@inheritDoc}
  */
 public function getVocation()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVocation', array());
     return parent::getVocation();
 }
示例#2
0
 /**
  * @covers Core\Entity\StudentGroup::setVocation
  * @covers Core\Entity\StudentGroup::getVocation
  */
 public function testSetGetVocation()
 {
     $mockVocation = $this->getMockBuilder('Core\\Entity\\Vocation')->getMock();
     $this->studentGroup->setVocation($mockVocation);
     $this->assertEquals($mockVocation, $this->studentGroup->getVocation());
 }