|
|
|
@ -146,7 +146,7 @@ public class EnhancedRestTemplateReporterTest {
|
|
|
|
|
URI uri = mock(URI.class);
|
|
|
|
|
enhancedRestTemplateReporter.handleError(uri, HttpMethod.GET, response);
|
|
|
|
|
|
|
|
|
|
verify(consumerAPI, times(2)).updateServiceCallResult(any());
|
|
|
|
|
verify(consumerAPI, times(1)).updateServiceCallResult(any());
|
|
|
|
|
verify(delegate).handleError(uri, HttpMethod.GET, response);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -161,7 +161,7 @@ public class EnhancedRestTemplateReporterTest {
|
|
|
|
|
URI uri = mock(URI.class);
|
|
|
|
|
enhancedRestTemplateReporter.handleError(uri, HttpMethod.GET, response);
|
|
|
|
|
|
|
|
|
|
verify(consumerAPI, times(2)).updateServiceCallResult(any());
|
|
|
|
|
verify(consumerAPI, times(1)).updateServiceCallResult(any());
|
|
|
|
|
verify(delegate, times(0)).handleError(uri, HttpMethod.GET, response);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|