@Test
void nextDelayCalculatedAccordingToMultiplier() throws Exception
{

    int retries = 27;
    int initialDelay = 1;
    int multiplier = 3;
    int noJitter = 0;
    Clock clock = mock( Clock.class );
    ExponentialBackoffRetryLogic logic = newRetryLogic( MAX_VALUE, initialDelay, multiplier, noJitter, clock );
    retry( logic, retries );
    assertEquals( delaysWithoutJitter( initialDelay, multiplier, retries ), sleepValues( clock, retries ) );
}