function it_should_return_response(ServerRequestInterface $request, ResponseInterface $response, Uri $uri)
 {
     $next = function () use($response) {
         return $response->getWrappedObject();
     };
     $request->getUri()->shouldBeCalled()->willReturn($uri);
     $this($request, $response, $next)->shouldReturn($response);
 }