ThrottledCall extends Call.Base<Void> { @Override public String toString() { return "Throttled(" + delegate + ")"; } ThrottledCall(Call<Void> delegate, Executor executor, Limiter<Void> limiter,
    LimiterMetrics limiterMetrics, Predicate<Throwable> isOverCapacity); @Override Call<Void> clone(); @Override String toString();  }
@Test public void niceToString() { Call<Void> delegate = mock(Call.class); when(delegate.toString()).thenReturn("StoreSpansCall{}"); assertThat(new ThrottledCall(delegate, executor, limiter, limiterMetrics, isOverCapacity)) .hasToString("Throttled(StoreSpansCall{})"); }