public function KernelTest::testInitializeBundlesThrowsExceptionWhenAParentDoesNotExists 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::testInitializeBundlesThrowsExceptionWhenAParentDoesNotExists()
@expectedException \LogicException @expectedExceptionMessage Bundle "ChildCBundle" extends bundle "FooBar", which is not registered.
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 654
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testInitializeBundlesThrowsExceptionWhenAParentDoesNotExists() {
$child = $this
->getBundle(null, 'FooBar', 'ChildCBundle');
$kernel = $this
->getKernel(array(), array(
$child,
));
$kernel
->boot();
}