You are here

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

File

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

Class

XmlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

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