### Question:
DownloadCall extends NamedRunnable implements Comparable<DownloadCall> { @Override protected void finished() { OkDownload.with().downloadDispatcher().finish(this); Util.d(TAG, "call is finished " + task.getId()); } private  DownloadCall(DownloadTask task, boolean asyncExecuted, @NonNull DownloadStore store);   DownloadCall(DownloadTask task, boolean asyncExecuted,
                 @NonNull ArrayList<DownloadChain> runningBlockList,
                 @NonNull DownloadStore store); static DownloadCall create(DownloadTask task, boolean asyncExecuted,
                                      @NonNull DownloadStore store); boolean cancel(); boolean isCanceled(); boolean isFinishing(); @Override void execute(); boolean equalsTask(@NonNull DownloadTask task); @Nullable File getFile(); @SuppressFBWarnings(value = "Eq", justification = "This special case is just for task priority") @Override int compareTo(@NonNull DownloadCall o); final DownloadTask task; final boolean asyncExecuted; }### Answer:
@Test public void finished_callToDispatch() { call.finished(); verify(OkDownload.with().downloadDispatcher()).finish(call); }