public TimerAssert hasTotalTime(TimeUnit timeUnit, double totalTime) {
    return hasTotalTime(timeUnit, equalTo(totalTime));
  }
Verifies that the timer's total time satisfies the given condition.

@param timeUnit the time unit to which to convert the total time before evaluating
@param totalTime the expected value of the timer's total time
@return this assertion object
@throws AssertionError if the timer is {@code null}
@throws AssertionError if the timer's converted total time is not equal to the given total time
geode-junit/src/main/java/org/apache/geode/test/micrometer/TimerAssert.java