public it_should_format_a_response_to_array ( ) |
function it_should_format_a_response_to_array()
{
$response = new Response(200);
$format = ['code' => $response->getStatusCode(), 'headers' => $response->getHeaders(), 'body' => (string) $response->getBody()];
$this->formatResponse($response)->shouldEqual($format);
}