/** * getResponse() should return response if response does exist */ public function test_getResponse_returnsResponse_ifResponseDoesExist() { $response = new \Jstewmc\Api\Response\Json(); $exception = new Exception(); $exception->setResponse($response); $this->assertSame($response, $exception->getResponse()); return; }