/** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); }
/** * @covers Core\Entity\StudentGroup::setId * @covers Core\Entity\StudentGroup::getId */ public function testSetGetId() { $this->studentGroup->setId(1); $this->assertEquals(1, $this->studentGroup->getId()); }