final ICategory category1 = fFactory.createCategory(null, news1);
category1.setName("Category1");
final ICategory category2 = fFactory.createCategory(null, news2);
category2.setName("Category2");
final boolean categoryAdded[] = new boolean[2];
categoryListener = new CategoryAdapter() {
@Override
public void entitiesAdded(Set<CategoryEvent> events) {
for (CategoryEvent event : events) {
assertFalse("Expected this Event to be no Root Event", event.isRoot());