public static <T> Matcher<Attributes> containsEntry(AttributeKey<T> key, T value) {
    return containsEntry(equalTo(key), equalTo(value));
  }
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