### Question:
CodeReviewRequestListener implements BackgroundTaskListener { @Override public void onSuccess() { uiInvoker.invokeCodeReviewRequestSuccefullySentWindow(); } CodeReviewRequestListener(CodeReviewRequestTask task, IdeUIInvoker uiInvoker); @Override void onBegin(); @Override void onSuccess(); @Override void onFailure(); @Override void onInterruption();  }### Answer:
@Test public void InvokesTheUIAfterSuccess() { listener.onSuccess(); verify(invoker, times(1)).invokeCodeReviewRequestSuccefullySentWindow(); }