public function BuilderTest::resolvedKernelShouldDelegateTerminateCalls in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/stack/builder/tests/unit/Stack/BuilderTest.php \Stack\BuilderTest::resolvedKernelShouldDelegateTerminateCalls()
@test
File
- vendor/
stack/ builder/ tests/ unit/ Stack/ BuilderTest.php, line 29
Class
- BuilderTest
- @covers Stack\Builder
Namespace
StackCode
public function resolvedKernelShouldDelegateTerminateCalls() {
$app = $this
->getTerminableMock();
$stack = new Builder();
$resolved = $stack
->resolve($app);
$request = Request::create('/');
$response = new Response('ok');
$resolved
->handle($request);
$resolved
->terminate($request, $response);
}