You are here

public function ContainerBuilderTest::testMergeLogicException in Zircon Profile 8

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

@covers Symfony\Component\DependencyInjection\ContainerBuilder::merge @expectedException \LogicException

File

vendor/symfony/dependency-injection/Tests/ContainerBuilderTest.php, line 499

Class

ContainerBuilderTest

Namespace

Symfony\Component\DependencyInjection\Tests

Code

public function testMergeLogicException() {
  $container = new ContainerBuilder();
  $container
    ->setResourceTracking(false);
  $container
    ->compile();
  $container
    ->merge(new ContainerBuilder());
}