public function XmlDumperTest::testDump in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\XmlDumperTest::testDump()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Dumper/ XmlDumperTest.php, line 26
Class
Namespace
Symfony\Component\DependencyInjection\Tests\DumperCode
public function testDump() {
$dumper = new XmlDumper(new ContainerBuilder());
$this
->assertXmlStringEqualsXmlFile(self::$fixturesPath . '/xml/services1.xml', $dumper
->dump(), '->dump() dumps an empty container as an empty XML file');
}