### Question:
DefaultMonitoringResultHandler implements ResultHandler<T, E> { @Override public void processError(Exception error) { store.addTokenOperation(null, operation, false); handler.processError(error); } DefaultMonitoringResultHandler(ResultHandler<T, E> handler, CTSOperationsMonitoringStore store, CTSOperation operation); @Override T getResults(); @Override void processResults(T result); @Override void processError(Exception error);  }### Answer:
@Test public void shouldCallStoreOnProcessError() { handler.processError(mock(CoreTokenException.class)); verify(mockStore).addTokenOperation((Token) eq(null), eq(operation), eq(false)); }