You are here

public function YamlDumperTest::testAddParameters in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/Dumper/YamlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\YamlDumperTest::testAddParameters()

File

vendor/symfony/dependency-injection/Tests/Dumper/YamlDumperTest.php, line 36

Class

YamlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

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