You are here

public function XmlDumperTest::testDump in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Tests/Dumper/XmlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\XmlDumperTest::testDump()

File

vendor/symfony/dependency-injection/Tests/Dumper/XmlDumperTest.php, line 26

Class

XmlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

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