Author: Kévin Dunglas (dunglas@gmail.com)
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface
 public function testClassNotFoundButParentFound()
 {
     $propertyMetadata = new PropertyMetadata();
     $decoratedProphecy = $this->prophesize(PropertyMetadataFactoryInterface::class);
     $decoratedProphecy->create('\\DoNotExist', 'foo', [])->willReturn($propertyMetadata);
     $factory = new AnnotationPropertyMetadataFactory($this->prophesize(Reader::class)->reveal(), $decoratedProphecy->reveal());
     $this->assertEquals($propertyMetadata, $factory->create('\\DoNotExist', 'foo'));
 }