You are here

public function GraphvizDumperTest::testDumpWithFrozenCustomClassContainer 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/GraphvizDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\GraphvizDumperTest::testDumpWithFrozenCustomClassContainer()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Dumper/GraphvizDumperTest.php, line 71

Class

GraphvizDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function testDumpWithFrozenCustomClassContainer() {
  $container = (include self::$fixturesPath . '/containers/container14.php');
  $dumper = new GraphvizDumper($container);
  $this
    ->assertEquals(str_replace('%path%', __DIR__, file_get_contents(self::$fixturesPath . '/graphviz/services14.dot')), $dumper
    ->dump(), '->dump() dumps services');
}