@Override
    public long getDelay(TimeUnit unit) {
        return original.getDelay(unit);
    }
@Test
    public void getDelay() {
        ScheduledFuture<Integer> future = new DelegatingScheduledFutureStripper<>(
                scheduler.schedule(new SimpleCallableTestTask(), 0, TimeUnit.SECONDS));
        //getDelay returns the remaining delay; zero or negative values indicate that the delay has already elapsed
        //If JVM pauses for GC we may get a negative value
        assertTrue(future.getDelay(TimeUnit.SECONDS) <= 0);

        future = new DelegatingScheduledFutureStripper<>(
                scheduler.schedule(new SimpleCallableTestTask(), 10, TimeUnit.SECONDS));
        assertTrue(future.getDelay(TimeUnit.SECONDS) <= 10);
    }