when(mockTime.milliseconds()).thenReturn(startTime + tinyDurationMs);
assertTrue("Throughput should not be absurdly high at beginning of window...", rc.getThroughput() <= 10);
// Jump in time past the reset duration
when(mockTime.milliseconds()).thenReturn(startTime + resetDurationMs + 1);
assertEquals("Make sure counter's value has expired", 0d, rc.getThroughput(), 0.0f);
}
}