/**
  * Test getter/setter for id property
  */
 protected function assertGetSetId()
 {
     $this->assertNull($this->price->getId());
     $expectedId = 5;
     $this->assertEntity($this->price->setId($expectedId));
     $this->assertEquals($expectedId, $this->price->getId());
 }
 /**
  * {@inheritDoc}
  */
 public function getId()
 {
     if ($this->__isInitialized__ === false) {
         return (int) parent::getId();
     }
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
     return parent::getId();
 }