assertEquals("Wrong number of tokens with properties", 1, nProperties);
}
@Test
public void testMultipleCategoriesWithProperties() throws FacetException {
AssociationProperty associationProperty = new AssociationIntProperty(
49);
categoryContainer.addCategory(new CategoryPath("five", "six"),
new DummyProperty(), associationProperty);
categoryContainer.addCategory(new CategoryPath("seven", "eight"),
new DummyProperty());
associationProperty = new AssociationIntProperty(123);
categoryContainer.addCategory(new CategoryPath("nine"),
associationProperty, new DummyProperty());
Iterator<CategoryAttribute> iterator = categoryContainer.iterator();
// count the number of tokens, and check there is one DummyAttribute