### Question:
TokenMonitoringResultHandler implements ResultHandler<Token, CoreTokenException> { @Override public void processResults(Token result) { store.addTokenOperation(result, operation, true); handler.processResults(result); } TokenMonitoringResultHandler(ResultHandler<Token, CoreTokenException> handler, CTSOperationsMonitoringStore store,
                                        CTSOperation operation); @Override Token getResults(); @Override void processResults(Token result); @Override void processError(Exception error);  }### Answer:
@Test public void shouldInvokeStoreOnProcessResults() { Token mockToken = mock(Token.class); handler.processResults(mockToken); verify(mockStore).addTokenOperation(eq(mockToken), eq(operation), eq(true)); }