public TimerAssert hasCount(long count) {
    return hasCount(equalTo(count));
  }
Verifies that the timer's count satisfies the given condition.

@param count the expected value of the timer's count
@return this assertion object
@throws AssertionError if the timer is {@code null}
@throws AssertionError if the timer's count is not equal to the given count
geode-junit/src/main/java/org/apache/geode/test/micrometer/TimerAssert.java