You are here

public function XmlDumperTest::testDumpInlinedServices 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::testDumpInlinedServices()

File

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

Class

XmlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function testDumpInlinedServices() {
  $container = (include self::$fixturesPath . '/containers/container21.php');
  $dumper = new XmlDumper($container);
  $this
    ->assertEquals(file_get_contents(self::$fixturesPath . '/xml/services21.xml'), $dumper
    ->dump());
}