### Question:
ImmediateSchedulingStrategy implements SchedulingStrategy { @Override public TimeValue schedule(final int attemptNumber) { return TimeValue.ZERO_MILLISECONDS; }  @Override TimeValue schedule(final int attemptNumber); final static ImmediateSchedulingStrategy INSTANCE; }### Answer:
@Test public void testSchedule() { Assert.assertEquals(TimeValue.ZERO_MILLISECONDS, impl.schedule(0)); Assert.assertEquals(TimeValue.ZERO_MILLISECONDS, impl.schedule(1)); Assert.assertEquals(TimeValue.ZERO_MILLISECONDS, impl.schedule(Integer.MAX_VALUE)); }