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