public function KernelTest::testTerminateReturnsSilentlyIfKernelIsNotBooted 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::testTerminateReturnsSilentlyIfKernelIsNotBooted()
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 721
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testTerminateReturnsSilentlyIfKernelIsNotBooted() {
$kernel = $this
->getKernel(array(
'getHttpKernel',
));
$kernel
->expects($this
->never())
->method('getHttpKernel');
$kernel
->terminate(Request::create('/'), new Response());
}