ApiPlatform\Core\Tests\Metadata\Property\Factory\ExtractorPropertyNameCollectionFactoryTest::testCreateXml PHP Метод

testCreateXml() публичный Метод

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']));
    }