/**
  * Test getter/setter for id property
  */
 public function testGetSetId()
 {
     $this->assertEmpty($this->currency->getId());
     // change value and assert new
     $newId = 5;
     $this->assertEntity($this->currency->setId($newId));
     $this->assertEquals($newId, $this->currency->getId());
 }
 /**
  * {@inheritDoc}
  */
 public function getId()
 {
     if ($this->__isInitialized__ === false) {
         return (int) parent::getId();
     }
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
     return parent::getId();
 }