示例#1
0
 /**
  * @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 setVocationCode($vocationCode)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVocationCode', array($vocationCode));
     return parent::setVocationCode($vocationCode);
 }