You are here

public function PhpDumperTest::testExportParameters 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::testExportParameters()

@expectedException \InvalidArgumentException

File

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

Class

PhpDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function testExportParameters() {
  $dumper = new PhpDumper(new ContainerBuilder(new ParameterBag(array(
    'foo' => new Reference('foo'),
  ))));
  $dumper
    ->dump();
}