You are here

public function BundleTest::testGetContainerExtensionWithInvalidClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php \Symfony\Component\HttpKernel\Tests\Bundle\BundleTest::testGetContainerExtensionWithInvalidClass()

@expectedException \LogicException @expectedExceptionMessage must implement Symfony\Component\DependencyInjection\Extension\ExtensionInterface

File

vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php, line 39

Class

BundleTest

Namespace

Symfony\Component\HttpKernel\Tests\Bundle

Code

public function testGetContainerExtensionWithInvalidClass() {
  $bundle = new ExtensionNotValidBundle();
  $bundle
    ->getContainerExtension();
}