public function YamlDumperTest::testDump in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/Dumper/YamlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\YamlDumperTest::testDump()
File
- vendor/
symfony/ dependency-injection/ Tests/ Dumper/ YamlDumperTest.php, line 26
Class
Namespace
Symfony\Component\DependencyInjection\Tests\DumperCode
public function testDump() {
$dumper = new YamlDumper($container = new ContainerBuilder());
$this
->assertStringEqualsFile(self::$fixturesPath . '/yaml/services1.yml', $dumper
->dump(), '->dump() dumps an empty container as an empty YAML file');
$container = new ContainerBuilder();
$dumper = new YamlDumper($container);
}