public function KernelTest::testBootKernelSeveralTimesOnlyInitializesBundlesOnce 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::testBootKernelSeveralTimesOnlyInitializesBundlesOnce()
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 153
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testBootKernelSeveralTimesOnlyInitializesBundlesOnce() {
$kernel = $this
->getKernel(array(
'initializeBundles',
'initializeContainer',
));
$kernel
->expects($this
->once())
->method('initializeBundles');
$kernel
->boot();
$kernel
->boot();
}