@Test
public void testJitteredDelay() {

  JitteredDelaySupplier sup = new JitteredDelaySupplier(new FibonacciRetryDelaySupplier(3, 0, 3000000000L), 0);
  Assert.assertEquals(0, sup.nextDelay());
  Assert.assertEquals(0, sup.nextDelay());
  Assert.assertEquals(0, sup.nextDelay());
  Assert.assertEquals(1, sup.nextDelay());
}