public function KernelTest::testInitializeBundleThrowsExceptionWhenABundleExtendsItself in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/KernelTest.php \Symfony\Component\HttpKernel\Tests\KernelTest::testInitializeBundleThrowsExceptionWhenABundleExtendsItself()
@expectedException \LogicException @expectedExceptionMessage Bundle "CircularRefBundle" can not extend itself.
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 713
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testInitializeBundleThrowsExceptionWhenABundleExtendsItself() {
$circularRef = $this
->getBundle(null, 'CircularRefBundle', 'CircularRefBundle');
$kernel = $this
->getKernel(array(), array(
$circularRef,
));
$kernel
->boot();
}