### Question:
ExecutorServiceAsyncTriggerScheduler extends AbstractAsyncTriggerScheduler { @Override public void pollAndExecute() { executeTasksRunnable().run(); }  ScheduledExecutorService getScheduledExecutorService(); ExecutorServiceAsyncTriggerScheduler withScheduledExecutorService(ScheduledExecutorService executorService); ExecutorService getTaskExecutorService(); ExecutorServiceAsyncTriggerScheduler withTaskExecutorService(ExecutorService taskExecutor); AsyncTriggerExecutor getAsyncTriggerExecutor(); ExecutorServiceAsyncTriggerScheduler withAsyncTriggerExecutor(AsyncTriggerExecutor asyncTriggerExecutor); @Override void pollAndExecute();  }### Answer:
@Test public void allowsToPollAndExecuteExplicitly() { final ExecuteTasksCallable executeCallable = mock(ExecuteTasksCallable.class); ExecutorServiceAsyncTriggerScheduler executorServiceScheduler = new ExecutorServiceAsyncTriggerScheduler() { @Override ExecuteTasksCallable createExecutionCallable() { return executeCallable; } }; executorServiceScheduler.pollAndExecute(); verify(executeCallable, times(1)).call(); }