You are here

public function GraphvizDumperTest::testDumpWithUnresolvedParameter in Zircon Profile 8

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

File

vendor/symfony/dependency-injection/Tests/Dumper/GraphvizDumperTest.php, line 76

Class

GraphvizDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

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