@Test(timeout = 100L)
public void Should_exit_When_currentExecutionTaskChanges()
        throws Exception {

    ExecutionTaskWithStrategy executionTask = new ExecutionTaskWithStrategy(dispatcherMock, processStrategyMock);
    ITask nextExecTsk = mock(ExecutionTask.class);
    when(dispatcherMock.getExecutionTask()).thenReturn(nextExecTsk);
    executionTask.execute();
    verify(queueMock, never()).tryTake();
    verify(threadPoolMock).tryExecute(same(nextExecTsk));
}