@Test public void testIsDone() throws Exception { ParsecCompletableFuture<Response> future = new ParsecCompletableFuture<>(mockNingFuture); assertFalse(future.isDone()); when(mockNingFuture.isDone()).thenReturn(true); assertTrue(future.isDone()); }
@Override public boolean isDone() { return future.isDone(); }
ParsecCompletableFuture extends CompletableFuture<T> { @Override public boolean isDone() { return future.isDone(); } }
ParsecCompletableFuture extends CompletableFuture<T> { @Override public boolean isDone() { return future.isDone(); } ParsecCompletableFuture(final Future<T> future); }
ParsecCompletableFuture extends CompletableFuture<T> { @Override public boolean isDone() { return future.isDone(); } ParsecCompletableFuture(final Future<T> future); @Override boolean cancel(boolean mayInterruptIfRunning); @Override T get(); @Override T get(long timeout, TimeUnit unit); @Override boolean isCancelled(); @Override boolean isDone(); }
ParsecCompletableFuture extends CompletableFuture<T> { @Override public boolean isDone() { return future.isDone(); } ParsecCompletableFuture(final Future<T> future); @Override boolean cancel(boolean mayInterruptIfRunning); @Override T get(); @Override T get(long timeout, TimeUnit unit); @Override boolean isCancelled(); @Override boolean isDone();  }