public function KernelTest::testInitializeBundlesThrowsExceptionWhenABundleIsDirectlyExtendedByTwoBundles in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/KernelTest.php \Symfony\Component\HttpKernel\Tests\KernelTest::testInitializeBundlesThrowsExceptionWhenABundleIsDirectlyExtendedByTwoBundles()
@expectedException \LogicException @expectedExceptionMessage Bundle "ParentCBundle" is directly extended by two bundles "ChildC2Bundle" and "ChildC1Bundle".
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 686
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testInitializeBundlesThrowsExceptionWhenABundleIsDirectlyExtendedByTwoBundles() {
$parent = $this
->getBundle(null, null, 'ParentCBundle');
$child1 = $this
->getBundle(null, 'ParentCBundle', 'ChildC1Bundle');
$child2 = $this
->getBundle(null, 'ParentCBundle', 'ChildC2Bundle');
$kernel = $this
->getKernel(array(), array(
$parent,
$child1,
$child2,
));
$kernel
->boot();
}