@Test
public void testGetTimeToWait() throws Exception {

    assertEquals("Unexpected time to wait value", 2000, retry.getTimeToWait());
    retry= new RetryStrategy(2, 1000);
    assertEquals("Unexpected time to wait value", 1000, retry.getTimeToWait());
}