helper.getViewContentDisplay(), new DefaultResourceSet(),
new DefaultResourceSet(), new CompositeVisualItemBehavior(),
mock(ErrorHandler.class), new DefaultResourceSetFactory(),
new ResourceByUriMultiCategorizer());
Resource r1 = createResource(1);
r1.putValue(TEXT_PROPERTY_1, "value1-1");
r1.putValue(TEXT_PROPERTY_2, "value2");
Resource r2 = createResource(2);
r2.putValue(TEXT_PROPERTY_1, "value1-2");
r2.putValue(TEXT_PROPERTY_2, "value2");
model.getContentResourceSet().addAll(toResourceSet(r1, r2));
model.setCategorizer(new ResourceByPropertyMultiCategorizer(
TEXT_PROPERTY_2));