示例#1
0
 /**
  * @covers Core\Entity\Vocation::setModule
  * @covers Core\Entity\Vocation::getModule
  */
 public function testSetGetModule()
 {
     $m = $this->getMockBuilder('Core\\Entity\\Module')->getMock();
     $this->vocation->setModule($m);
     $this->assertEquals($this->vocation->getModule(), $m);
 }
 /**
  * {@inheritDoc}
  */
 public function getModule()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModule', array());
     return parent::getModule();
 }