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

testCreateWithNonexistentResourceYaml() public method

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