fileHasNoParentFolder.getProject(),
fileHasNoParentFolder,
new UnrecognizedTask(taskIdForInvalid),
duration2));
ITaskData data2 = mock(ITaskData.class);
given(data2.get(ITaskData.DATE)).willReturn(date2);
given(data2.get(ITaskData.DURATION)).willReturn(duration2);
given(data2.get(ITaskData.FILE)).willReturn(fileHasNoParentFolder);
given(data2.get(ITaskData.WORKSPACE)).willReturn(ws2);
given(data2.get(ITaskData.TASK_ID)).willReturn(taskIdForInvalid);
ICategoryProvider provider = mock(ICategoryProvider.class);
given(provider.getSelected()).willReturn(asList(categories));
ITreePathBuilder builder = create(provider);