@Test public void testOnFailure() { NoOpAsyncResult result = new NoOpAsyncResult(); assertTrue(result.isComplete()); result.onFailure(new ProviderException("Error")); result.onSuccess(); assertTrue(result.isComplete()); }
@Override public void onFailure(ProviderException result) { }
NoOpAsyncResult implements AsyncResult { @Override public void onFailure(ProviderException result) { } }
NoOpAsyncResult implements AsyncResult { @Override public void onFailure(ProviderException result) { }  }
NoOpAsyncResult implements AsyncResult { @Override public void onFailure(ProviderException result) { }  @Override void onFailure(ProviderException result); @Override void onSuccess(); @Override boolean isComplete(); }
NoOpAsyncResult implements AsyncResult { @Override public void onFailure(ProviderException result) { }  @Override void onFailure(ProviderException result); @Override void onSuccess(); @Override boolean isComplete(); final static NoOpAsyncResult INSTANCE; }