/** * Test getter/setter for id property */ public function testId() { $this->assertEmpty($this->associationType->getId()); $newId = 100; $this->associationType->setId($newId); $this->assertSame($newId, $this->associationType->getId()); }
/** * {@inheritDoc} */ public function setId($id) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', array($id)); return parent::setId($id); }