public function convert(ResponseInterface $psrResponse)
    {
        return new BrowserKitResponse(
            (string)$psrResponse->getBody(),
            $psrResponse->getStatusCode() ?: 200,
            $this->flattenHeaders($psrResponse->getHeaders())
        );
    }