@Test(expected = TaskNotFoundException.class)
public void testGetTaskNegative() throws TaskException {

    Task<? extends TaskParameters> task = victim.getTask(mock(TaskParameters.class));
    Assert.assertNotNull(task);
}