assertEquals(size, 5000L, "Size should be 5000");
verifyNoMoreInteractions(mockEventStore);
size = testDatabus.getEventCountUpTo("testsubscription", 500L);
assertEquals(size, 4800L, "Size should be 4800");
verify(mockEventStore, times(1)).getSizeEstimate("testsubscription", 500L);
<BUG>for (int i=0; i < 14; i++) {

timeNanos.addAndGet(TimeUnit.SECONDS.toNanos(1));
size = testDatabus.getEventCountUpTo("testsubscription", 50L);</BUG>
assertEquals(size, 4800L, "Size should still be 4800");

assertEquals(size, 5000L, "Size should be 5000");
verify(mockEventStore, times(1)).getSizeEstimate("testsubscription", 50L);
size = testDatabus.getEventCountUpTo("testsubscription", 50L);
assertEquals(size, 5000L, "Size should be 5000");
