/**
  * Test getter/setter for code property
  */
 public function testGetSetCode()
 {
     $this->assertEmpty($this->type->getCode());
     $newCode = 'test-code';
     $this->assertEntity($this->type->setCode($newCode));
     $this->assertEquals($newCode, $this->type->getCode());
 }
 /**
  * {@inheritDoc}
  */
 public function getCode()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCode', array());
     return parent::getCode();
 }