@Test public void testLogRemoteRequestAndResponse() { ParsecClientProfilingLogUtil.logRemoteRequest(req, resp, reqStatus, progress); String expectedSubString = "req_url=http: then(mockAppender).should().doAppend(argThat(hasToString(containsString(expectedSubString)))); }
public static void logRemoteRequest( final Request request, final Response response, final String requestStatus, final ParsecAsyncProgress progress, final Map<String, String> msgMap ) { if (!PROF_LOGGER.isTraceEnabled()) { return; } String logMsg = formatMessage(request, response, requestStatus, progress, msgMap); PROF_LOGGER.trace(logMsg); }
ParsecClientProfilingLogUtil { public static void logRemoteRequest( final Request request, final Response response, final String requestStatus, final ParsecAsyncProgress progress, final Map<String, String> msgMap ) { if (!PROF_LOGGER.isTraceEnabled()) { return; } String logMsg = formatMessage(request, response, requestStatus, progress, msgMap); PROF_LOGGER.trace(logMsg); } }
ParsecClientProfilingLogUtil { public static void logRemoteRequest( final Request request, final Response response, final String requestStatus, final ParsecAsyncProgress progress, final Map<String, String> msgMap ) { if (!PROF_LOGGER.isTraceEnabled()) { return; } String logMsg = formatMessage(request, response, requestStatus, progress, msgMap); PROF_LOGGER.trace(logMsg); } private  ParsecClientProfilingLogUtil(); }
ParsecClientProfilingLogUtil { public static void logRemoteRequest( final Request request, final Response response, final String requestStatus, final ParsecAsyncProgress progress, final Map<String, String> msgMap ) { if (!PROF_LOGGER.isTraceEnabled()) { return; } String logMsg = formatMessage(request, response, requestStatus, progress, msgMap); PROF_LOGGER.trace(logMsg); } private  ParsecClientProfilingLogUtil(); static void logRemoteRequest(
            final Request request,
            final Response response,
            final String requestStatus,
            final ParsecAsyncProgress progress,
            final Map<String, String> msgMap
            ); static String formatMessage(final Request request,
                                       final Response response,
                                       final String requestStatus,
                                       final ParsecAsyncProgress progress,
                                       final Map<String, String> msgMap); static void logRemoteRequest(
            final Request request,
            final Response response,
            final String requestStatus,
            final ParsecAsyncProgress progress
        ); }
ParsecClientProfilingLogUtil { public static void logRemoteRequest( final Request request, final Response response, final String requestStatus, final ParsecAsyncProgress progress, final Map<String, String> msgMap ) { if (!PROF_LOGGER.isTraceEnabled()) { return; } String logMsg = formatMessage(request, response, requestStatus, progress, msgMap); PROF_LOGGER.trace(logMsg); } private  ParsecClientProfilingLogUtil(); static void logRemoteRequest(
            final Request request,
            final Response response,
            final String requestStatus,
            final ParsecAsyncProgress progress,
            final Map<String, String> msgMap
            ); static String formatMessage(final Request request,
                                       final Response response,
                                       final String requestStatus,
                                       final ParsecAsyncProgress progress,
                                       final Map<String, String> msgMap); static void logRemoteRequest(
            final Request request,
            final Response response,
            final String requestStatus,
            final ParsecAsyncProgress progress
        );  }