public static <T> Matcher<Attributes> containsEntry(AttributeKey<T> key,
    Matcher<? super T> matcher) {
    return containsEntry(equalTo(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