public static Matcher<SpanData> hasParentSpanId(String parentSpanId) {
    return hasParentSpanId(equalTo(parentSpanId));
  }
Helper methods for matching against instances of {@link SpanData}.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/trace/hamcrest/SpanDataMatchers.java