@Override
    public boolean isDone() {
        if (delegate == null) {
            return isDone;
        }
        return delegate.isDone();
    }
@Test
    public void isDone() {
        final Future<HttpResponse> delegate = Mockito.mock(Future.class);
        FutureDecorator decorator = new FutureDecorator(null);
        ReflectUtils.setFieldValue(decorator, "delegate", delegate);
        decorator.isDone();
        Mockito.verify(delegate, Mockito.times(1)).isDone();
    }