public function testReturnOfResponseDataAsRaw() { $response = new Response(200, '', '', $this->responseTestData); list($statusCode, $headers, $responseRaw) = $response->asRaw(); $this->assertTrue(is_int($statusCode)); $this->assertTrue(is_array($headers)); $this->assertTrue(is_string($responseRaw)); }
public function testReturnOfResponseDataAsRaw() { $response = new Response(200, $this->responseTestData); $responseRaw = $response->as_raw(); $this->assertTrue(is_string($responseRaw)); }