@Test
public void ticksInSameIntervalAreSummed() {

    IntervalCount intervalCount = new IntervalCount(100L);
    assertEquals(1L, intervalCount.resetIfExpiredAndTick());
    Clock.shift(100);
    assertEquals(2L, intervalCount.resetIfExpiredAndTick());
}