### Question:
ProviderFuture implements AsyncResult { @Override public boolean isComplete() { return state > COMPLETING; } ProviderFuture();  ProviderFuture(ProviderSynchronization synchronization); @Override boolean isComplete(); @Override void onFailure(ProviderException result); @Override void onSuccess(); abstract void sync(); abstract boolean sync(long amount, TimeUnit unit);  }### Answer:
@Test public void testIsComplete() { ProviderFuture future = futuresFactory.createFuture(); assertFalse(future.isComplete()); future.onSuccess(); assertTrue(future.isComplete()); }