/**
  * {@inheritDoc}
  */
 public function setId($id)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', array($id));
     return parent::setId($id);
 }
Esempio n. 2
0
 /**
  * @covers Core\Entity\Teacher::setId
  * @covers Core\Entity\Teacher::getId
  */
 public function testSetGetId()
 {
     $this->teacher->setId(1);
     $this->assertEquals(1, $this->teacher->getId());
 }