public function testWakeup()
{
$serializedClass = serialize($this->classMetadata);
$unserializedClass = unserialize($serializedClass);
$unserializedClass->wakeupReflection($this->reflectionService);
$this->assertEquals($unserializedClass, $this->classMetadata);
}