### Question:
ReportResponseInterceptor implements HttpResponseInterceptor { @Override public void interceptResponse(HttpResponse response) throws IOException { if (response == null) { return; } reportServiceLogger.logRequest( response.getRequest(), response.getStatusCode(), response.getStatusMessage()); } @Inject  ReportResponseInterceptor(ReportServiceLogger reportServiceLogger); @Override void interceptResponse(HttpResponse response);  }### Answer:
@Test public void testIntercept_nullResponse() throws IOException { interceptor.interceptResponse(null); verify(reportServiceLogger, never()).logRequest(any(HttpRequest.class), anyInt(), anyString()); }