FixedDelayBackoffStrategy implements BackoffStrategy { @Override public long computeDelayBeforeNextRetry(RetryPolicyContext context) { return fixedBackoff; } FixedDelayBackoffStrategy(int fixedBackoff); @Override long computeDelayBeforeNextRetry(RetryPolicyContext context);  }
@Test public void positiveBackoff_ReturnsFixedBackoffOnDelay() { long delay = new FixedDelayBackoffStrategy(100).computeDelayBeforeNextRetry(RetryPolicyContexts.EMPTY); assertEquals(100, delay); }