protected static Stream<SpanData> spanStream() {
    return OTEL_CLASS_RULE.getSpans().stream().filter(Objects::nonNull);
  }
Used by implementation classes to assert the correctness of spans having errors.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/AbstractTestAsyncTableScan.java