You are here

public function PhpDumperTest::testServicesWithAnonymousFactories in Zircon Profile 8.0

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

File

vendor/symfony/dependency-injection/Tests/Dumper/PhpDumperTest.php, line 137

Class

PhpDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function testServicesWithAnonymousFactories() {
  $container = (include self::$fixturesPath . '/containers/container19.php');
  $dumper = new PhpDumper($container);
  $this
    ->assertStringEqualsFile(self::$fixturesPath . '/php/services19.php', $dumper
    ->dump(), '->dump() dumps services with anonymous factories');
}