예제 #1
0
 /**
  * @covers Core\Entity\Vocation::setId
  * @covers Core\Entity\Vocation::getId
  */
 public function testSetGetId()
 {
     $this->vocation->setId(1);
     $this->assertEquals(1, $this->vocation->getId());
 }
 /**
  * {@inheritDoc}
  */
 public function setId($id)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', array($id));
     return parent::setId($id);
 }