@Test public void testGetWrapped() { ProviderFuture future = futuresFactory.createFuture(); WrappedAsyncResult wrapped = new WrappedAsyncResult(future) {}; assertSame(wrapped.getWrappedRequest(), future); }
public AsyncResult getWrappedRequest() { return wrapped; }
WrappedAsyncResult implements AsyncResult { public AsyncResult getWrappedRequest() { return wrapped; } }
WrappedAsyncResult implements AsyncResult { public AsyncResult getWrappedRequest() { return wrapped; } WrappedAsyncResult(AsyncResult wrapped); }
WrappedAsyncResult implements AsyncResult { public AsyncResult getWrappedRequest() { return wrapped; } WrappedAsyncResult(AsyncResult wrapped); @Override void onFailure(ProviderException result); @Override void onSuccess(); @Override boolean isComplete(); AsyncResult getWrappedRequest(); }
WrappedAsyncResult implements AsyncResult { public AsyncResult getWrappedRequest() { return wrapped; } WrappedAsyncResult(AsyncResult wrapped); @Override void onFailure(ProviderException result); @Override void onSuccess(); @Override boolean isComplete(); AsyncResult getWrappedRequest();  }