RunnerAsyncRequestCallback extends AsyncRequestCallback<T> { @Override protected void onSuccess(@NotNull T result) { successCallback.onSuccess(result); } RunnerAsyncRequestCallback(@NotNull NotificationManager notificationManager,
                                      @NotNull RunnerLocalizationConstant locale,
                                      @Nullable Unmarshallable<T> unmarshaller,
                                      @NotNull SuccessCallback<T> successCallback,
                                      @Nullable FailureCallback failureCallback);   }
@Test public void successCallBackShouldBeCalled() throws Exception { asyncRequestCallback.onSuccess(result); verify(successCallback).onSuccess(result); }