@Test public void addsHttpStatusAsValue() throws Exception { when(httpResponse.getStatus()).thenReturn(123); createLoggerWithoutResponse(httpResponse).logRequest(); verify(requestRecord).addValue(eq(Fields.RESPONSE_STATUS), valueCaptor.capture()); assertThat(valueCaptor.getValue().asLong(), is(123L)); }
public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } RequestLogger(RequestRecord requestRecord, HttpServletRequest httpRequest,
			HttpServletResponse httpResponse); }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } RequestLogger(RequestRecord requestRecord, HttpServletRequest httpRequest,
			HttpServletResponse httpResponse); static final boolean isRequestLoggingEnabled(); void logRequest(); }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } RequestLogger(RequestRecord requestRecord, HttpServletRequest httpRequest,
			HttpServletResponse httpResponse); static final boolean isRequestLoggingEnabled(); void logRequest();  }