You are here

public function XmlDumperTest::testDumpInlinedServices in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\XmlDumperTest::testDumpInlinedServices()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php, line 179

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