Doctrine\Tests\Search\Mapping\ClassMetadataTest::testWakeup PHP Method

testWakeup() public method

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