### Question:
PendingResultHandler { public void removePendingResult(final String pendingResultId) { pendingResultsHolder.remove(pendingResultId); } @Autowired  PendingResultHandler(final PendingResultsHolder pendingResultsHolder,
            @Value("${server.application.name}") final String applicationName); String createPendingResult(); void removePendingResult(final String pendingResultId); Object pollValue(final String pendingResultId); void offerValue(final String pendingResultId, final Object value); void offerException(final String pendingResultId, final Exception exception);  }### Answer:
@Test public void shouldRemovePendingResult_withPendingResultId() { final String pendingResultId = randomId(); pendingResultHandler.removePendingResult(pendingResultId); verify(mockPendingResultsHolder).remove(pendingResultId); }