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

    ExecutionTask executionTask = new ExecutionTask(dispatcherMock);
    when(dispatcherMock.getExecutionTask()).thenReturn(executionTask);
    when(queueMock.tryTake()).thenReturn(null);
    executionTask.execute();
}