ICategory[] categories = {Category.DATE, Category.WORKSPACE};
List<TreePath> expected = asList(
newPath(date, ws, duration),
newPath(date, ws, duration));
ICategoryProvider provider = mock(ICategoryProvider.class);
given(provider.getSelected()).willReturn(asList(categories));
ITreePathBuilder builder = create(provider);
ITaskDataProvider input = mock(ITaskDataProvider.class);
given(input.get()).willReturn(asList(data, data));
List<TreePath> actual = builder.build(input);