public void hasId(Meter.Id expectedId) {
    isNotNull();
    Meter.Id actualId = actualId();
    if (!Objects.equals(actualId, expectedId)) {
      failWithMessage("Expected meter to have id <%s> but id was <%s>", expectedId, actualId);
    }
  }
Creates an assertion to evaluate the given meter.

@param meter the meter to evaluate
@param selfType the concrete type of the assertion object
geode-junit/src/main/java/org/apache/geode/test/micrometer/AbstractMeterAssert.java