ApiPlatform\Core\Tests\Metadata\Property\Factory\ExtractorPropertyNameCollectionFactoryTest::testCreateWithNonexistentResourceXml PHP Method

testCreateWithNonexistentResourceXml() public method

    public function testCreateWithNonexistentResourceXml()
    {
        $configPath = __DIR__ . '/../../../Fixtures/FileConfigurations/resourcenotfound.xml';
        (new ExtractorPropertyNameCollectionFactory(new XmlExtractor([$configPath])))->create(\ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\ThisDoesNotExist::class);
    }