@Test public void InvokesTheUIAfterSuccess() { listener.onSuccess(); verify(invoker, times(1)).invokeCodeReviewRequestSuccefullySentWindow(); }
@Override public void onSuccess() { uiInvoker.invokeCodeReviewRequestSuccefullySentWindow(); }
CodeReviewRequestListener implements BackgroundTaskListener { @Override public void onSuccess() { uiInvoker.invokeCodeReviewRequestSuccefullySentWindow(); } }
CodeReviewRequestListener implements BackgroundTaskListener { @Override public void onSuccess() { uiInvoker.invokeCodeReviewRequestSuccefullySentWindow(); } CodeReviewRequestListener(CodeReviewRequestTask task, IdeUIInvoker uiInvoker); }
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(); }
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();  }