test_class.file: errormap/core/src/test/java/org/microbule/errormap/core/ResponsesTest.java
test_class.identifier: ResponsesTest
test_class.superclass: extends MockObjectTestCase
test_case.body: @Test
      public void testGetErrorMessage() {
          assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getReasonPhrase(), Responses.getErrorMessage(Response.serverError().build()));
      }
test_case.class_method_signature: ResponsesTest.testGetErrorMessage()
test_case.full_signature: @Test public void testGetErrorMessage()
test_case.identifier: testGetErrorMessage
test_case.invocations: assertEquals getReasonPhrase getErrorMessage build serverError
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetErrorMessage()
focal_class.file: errormap/core/src/main/java/org/microbule/errormap/core/Responses.java
focal_class.identifier: Responses
focal_class.class_method_signature: Responses.getErrorMessage(Response response)
focal_class.full_signature: public static String getErrorMessage(Response response)
focal_class.identifier: getErrorMessage
focal_class.modifiers: public static
focal_class.parameters: (Response response)
focal_class.return: String
focal_class.signature: String getErrorMessage(Response response)
focal_class.class_method_signature: Responses.Responses()
focal_class.full_signature: private  Responses()
focal_class.identifier: Responses
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Responses()
focal_method.body: public static String getErrorMessage(Response response) {
          if (response.hasEntity()) {
              return StringUtils.defaultString(response.readEntity(String.class), response.getStatusInfo().getReasonPhrase());
          }
          return response.getStatusInfo().getReasonPhrase();
      }
focal_method.class_method_signature: Responses.getErrorMessage(Response response)
focal_method.full_signature: public static String getErrorMessage(Response response)
focal_method.identifier: getErrorMessage
focal_method.invocations: hasEntity defaultString readEntity getReasonPhrase getStatusInfo getReasonPhrase getStatusInfo
focal_method.modifiers: public static
focal_method.parameters: (Response response)
focal_method.return: String
focal_method.signature: String getErrorMessage(Response response)