@Override
public void shouldCorrectlyBuildMultiplePaths() {
WorkspaceStorage ws2 = new WorkspaceStorage(new Path(".b"), null);
LocalDate date2 = date.minusDays(2);
Duration duration2 = duration.withMillis(10000);
IEditorDescriptor editor = PlatformUI.getWorkbench().getEditorRegistry()
.getDefaultEditor("1.txt");
ICategory[] categories = {Category.WORKSPACE, Category.WORKBENCH_TOOL};
List<TreePath> expected = asList(
newPath(ws, view, duration),
newPath(ws2, editor, duration2));
IPartData data2 = mock(IPartData.class);
given(data2.get(IPartData.DATE)).willReturn(date2);
given(data2.get(IPartData.DURATION)).willReturn(duration2);
given(data2.get(IPartData.PART_ID)).willReturn(editor.getId());
given(data2.get(IPartData.WORKSPACE)).willReturn(ws2);
ICategoryProvider provider = mock(ICategoryProvider.class);
given(provider.getSelected()).willReturn(asList(categories));
ITreePathBuilder builder = create(provider);