public function PhpDumperTest::testAddParameters in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\PhpDumperTest::testAddParameters()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Dumper/ PhpDumperTest.php, line 96
Class
Namespace
Symfony\Component\DependencyInjection\Tests\DumperCode
public function testAddParameters() {
$container = (include self::$fixturesPath . '/containers/container8.php');
$dumper = new PhpDumper($container);
$this
->assertStringEqualsFile(self::$fixturesPath . '/php/services8.php', $dumper
->dump(), '->dump() dumps parameters');
}