### Question:
ErrorResponseHelper { static String createExtendedMessage(String message, String path, String queryString, HttpMethod method) { return message + ": Path: '" + path + "', " + "Query: '" + ((queryString == null) ? "" : queryString) + "', " + "Method: '" + method + "'"; } ErrorResponseHelper(ApimAdapterConfig config); AuthRepResponse createErrorAuthResponse(OAuthToken oAuthToken, ErrorReason reason, String path, String queryString, HttpMethod method, List<String> metricSysNames); AuthRepResponse createErrorAuthResponse(String realm, String clientId, ErrorReason reason, String path, String queryString, HttpMethod method, List<String> metricSysNames); static boolean isNotMonitoringUrl(String path);  }### Answer:
@Test public void createExtendedMessage() { String path = "/v1/locations"; String queryString = "query=String"; HttpMethod method = HttpMethod.GET; ErrorReason reason = ErrorReason.PATH_NOT_FOUND; String message = ErrorResponseHelper.createExtendedMessage(reason.getMessage(), path, queryString, method); assertNotNull(message); assertTrue(message.contains(reason.getMessage())); assertTrue(message.contains(method.toString())); assertTrue(message.contains(queryString)); assertTrue(message.contains(path)); }