/** * @covers Core\Entity\Vocation::setVocationCode * @covers Core\Entity\Vocation::getVocationCode */ public function testSetGetVocationCode() { $code = "N001"; $this->vocation->setVocationCode($code); $this->assertEquals($this->vocation->getVocationCode(), $code); }
/** * {@inheritDoc} */ public function getVocationCode() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVocationCode', array()); return parent::getVocationCode(); }