ThrottledStorageComponent extends ForwardingStorageComponent { @Override public SpanConsumer spanConsumer() { return new ThrottledSpanConsumer(this); } ThrottledStorageComponent(StorageComponent delegate, MeterRegistry registry,
    @Nullable Tracing tracing, int minConcurrency, int maxConcurrency, int maxQueueSize); @Override SpanConsumer spanConsumer(); @Override void close(); @Override String toString();  }
@Test public void spanConsumer_isProxied() { ThrottledStorageComponent throttle = new ThrottledStorageComponent(delegate, registry, tracing, 1, 2, 1); assertThat(ThrottledSpanConsumer.class) .isSameAs(throttle.spanConsumer().getClass()); }