public A hasTag(String key, String expectedValue) {
    hasTag(key);
    String tagValue = actualId().getTag(key);
    if (!Objects.equals(tagValue, expectedValue)) {
      failWithMessage("Expected meter's <%s> tag to have value <%s> but value was <%s>",
          key, expectedValue, tagValue);
    }
    return myself;
  }
Verifies that the meter has a tag with the given key and value.

@param key the tag key
@param expectedValue the expected value of the tag with the given key
@return this assertion object
@throws AssertionError if the meter is {@code null}
@throws AssertionError if the meter has no tag with the given key
@throws AssertionError if the tag with the given key does not have the given value
geode-junit/src/main/java/org/apache/geode/test/micrometer/AbstractMeterAssert.java