static StorageComponent buildStorage(final SpanConsumer spanConsumer) {
    return new ForwardingStorageComponent() {
      @Override protected StorageComponent delegate() {
        throw new AssertionError();
      }

      @Override public SpanConsumer spanConsumer() {
        return spanConsumer;
      }
    };
  }
Guards against errors that leak from storage, such as InvalidQueryException
zipkin-collector/activemq/src/test/java/zipkin2/collector/activemq/ITActiveMQCollector.java