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