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