public function testGetId()
 {
     $this->assertNull($this->entity->getId());
     $testId = 22;
     $ref = new \ReflectionProperty(ClassUtils::getClass($this->entity), 'id');
     $ref->setAccessible(true);
     $ref->setValue($this->entity, $testId);
     $this->assertAttributeSame($testId, 'id', $this->entity);
 }