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

testCreateYaml() public method

public testCreateYaml ( )
    public function testCreateYaml()
    {
        $configPath = __DIR__ . '/../../../Fixtures/FileConfigurations/resources.yml';
        $this->assertEquals((new ExtractorPropertyNameCollectionFactory(new YamlExtractor([$configPath])))->create(FileConfigDummy::class), new PropertyNameCollection(['foo', 'name']));
    }