@Test
public void Should_ignoreExceptionsFromTask()
        throws Exception {

    ITask taskMock1 = mock(ITask.class), taskMock2 = mock(ITask.class);
    doThrow(new TaskExecutionException("Whoops!")).when(taskMock1).execute();
    thread.execute(taskMock1);
    verify(taskMock1, timeout(100)).execute();
    Thread.sleep(100);
    thread.execute(taskMock2);
    verify(taskMock2, timeout(100)).execute();
}