@Test
public void lenient() throws TaskExecutionException {

    TaskExecutionContext victim = new TaskExecutionContext(mock(Task.class), true);
    victim.assertTaskIsLenient(new Exception("Test"));
}