public function testGetResponse() { $response = $this->object->getResponse(); $this->assertTrue($response instanceof HttpResponse); $this->assertTrue($response === $this->object->getResponse(), "Check for Singleton"); }
/** * The HTTP response body from the API request * @return mixed */ public function getResponseBody() { return $this->context->getResponse()->getRawBody(); }