You are here

public function XmlDumperTest::testAddParameters in Service Container 7.2

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

File

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

Class

XmlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function testAddParameters() {
  $container = (include self::$fixturesPath . '//containers/container8.php');
  $dumper = new XmlDumper($container);
  $this
    ->assertXmlStringEqualsXmlFile(self::$fixturesPath . '/xml/services8.xml', $dumper
    ->dump(), '->dump() dumps parameters');
}