public TimerAssert hasCount(Condition<? super Long> condition) {
    isNotNull();
    long count = actual.count();
    if (!condition.matches(count)) {
      failWithMessage("Expected timer to have count <%s> but count was <%s>", condition, count);
    }
    return myself;
  }
Verifies that the timer's count satisfies the given condition.

@param condition the criteria against which to evaluate the timer's count
@return this assertion object
@throws AssertionError if the timer is {@code null}
@throws AssertionError if the condition rejects the timer's count
geode-junit/src/main/java/org/apache/geode/test/micrometer/TimerAssert.java