@Test void buildingWithCollectionDoesNotIncludeDefault() { CompoundInterceptor compound = new CompoundInterceptor(Collections.emptyList()); assertEquals(0, compound.size()); }
int size() { return interceptors.size(); }
CompoundInterceptor implements Interceptor { int size() { return interceptors.size(); } }
CompoundInterceptor implements Interceptor { int size() { return interceptors.size(); } CompoundInterceptor();   CompoundInterceptor(List<Interceptor> interceptors); }
CompoundInterceptor implements Interceptor { int size() { return interceptors.size(); } CompoundInterceptor();   CompoundInterceptor(List<Interceptor> interceptors); @Override void onRequest(HttpRequest<?> request, Config config); @Override void onResponse(HttpResponse<?> response, HttpRequestSummary request, Config config); @Override HttpResponse<?> onFail(Exception e, HttpRequestSummary request, Config config); }
CompoundInterceptor implements Interceptor { int size() { return interceptors.size(); } CompoundInterceptor();   CompoundInterceptor(List<Interceptor> interceptors); @Override void onRequest(HttpRequest<?> request, Config config); @Override void onResponse(HttpResponse<?> response, HttpRequestSummary request, Config config); @Override HttpResponse<?> onFail(Exception e, HttpRequestSummary request, Config config);  }