@Test
public void getWaitTimeMillisTest() {

    long waitTime;
    int power;
    for (int i = 0; i < 100; i++) {
        if (i < 3) {
            waitTime = 0;
        } else {
            power = (i / MAXIMUM_NUMBER) - 1;
            waitTime = TEN_MINUTES * (long) Math.pow(MAXIMUM_NUMBER, power);
        }
        assertEquals(waitTime, RetryUtil.getWaitTimeMillis(i));
    }
}