You are here

public function XmlDumperTest::testCompiledContainerCanBeDumped in Zircon Profile 8.0

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

@dataProvider provideCompiledContainerData

File

vendor/symfony/dependency-injection/Tests/Dumper/XmlDumperTest.php, line 157

Class

XmlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function testCompiledContainerCanBeDumped($containerFile) {
  $fixturesPath = __DIR__ . '/../Fixtures';
  $container = (require $fixturesPath . '/containers/' . $containerFile . '.php');
  $container
    ->compile();
  $dumper = new XmlDumper($container);
  $dumper
    ->dump();
}