@Override public <T> ListenableFuture<T> submitScheduled( Callable<T> task, long delayInMs, TaskPriority priority) { submitScheduledCallableCalled = true; return FutureUtils.immediateFailureFuture(new UnsupportedOperationException()); }
@Override public <T> ListenableFuture<T> submit(Runnable task, T result, TaskPriority priority) { submitRunnableResultCalled = true; return FutureUtils.immediateFailureFuture(new UnsupportedOperationException()); }