public static Matcher<Attributes> containsEntryWithStringValuesOf(String key,
    Matcher<Iterable<? extends String>> matcher) {
    return new IsAttributesContaining<>(equalTo(AttributeKey.stringArrayKey(key)), matcher);
  }
Helper methods for matching against instances of {@link io.opentelemetry.api.common.Attributes}.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/trace/hamcrest/AttributesMatchers.java