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

testCreateXml() public method

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