public function testDoesNotRewriteCustomType()
 {
     $event = $this->createEvent($obj = new SimpleObjectProxy('a', 'b'), Type::from('FakedName'));
     $this->subscriber->onPreSerialize($event);
     $this->assertEquals(Type::from('FakedName'), $event->getType());
     $this->assertTrue($obj->__isInitialized());
 }