@Test
public void testTriggerDoesTriggerAfterInterval() throws InterruptedException {

    counter.set(0);
    final Throttled<String> throttled = new Throttled<>(1);
    throttled.trigger("x", slowIncrement);
    waitALittleToAllowExecutorToProcessRunnables();
    assertEquals(1, counter.get());
    Thread.sleep(2000);
    throttled.trigger("x", slowIncrement);
    waitALittleToAllowExecutorToProcessRunnables();
    assertEquals(2, counter.get());
}