ExpressiveInstallerTest\InstallerTestCase::getAppResponse PHP Method

getAppResponse() protected method

protected getAppResponse ( $path = '/' )
    protected function getAppResponse($path = '/')
    {
        $container = $this->getContainer();
        /** @var Application $app */
        $app = $container->get('Zend\\Expressive\\Application');
        $request = new ServerRequest([], [], 'https://example.com' . $path, 'GET');
        /** @var ResponseInterface $response */
        $response = $app($request, new Response());
        return $response;
    }