Symfony\Component\Config\Tests\Definition\Dumper\XmlReferenceDumperTest::testNamespaceDumper PHP Method

testNamespaceDumper() public method

public testNamespaceDumper ( )
    public function testNamespaceDumper()
    {
        $configuration = new ExampleConfiguration();
        $dumper = new XmlReferenceDumper();
        $this->assertEquals(str_replace('http://example.org/schema/dic/acme_root', 'http://symfony.com/schema/dic/symfony', $this->getConfigurationAsString()), $dumper->dump($configuration, 'http://symfony.com/schema/dic/symfony'));
    }