assertTrue("Extra Category Two was not a child", found.getChildren().contains(two));
}
public void testDeleteContentCategories() throws Exception
{
ContentCategoryVO cc = new ContentCategoryVO();
cc.setContentVersionId(new Integer(-999));
cc.setAttributeName(getName());
cc.setCategory(testCategory);
cc = contentCategoryStore.save(cc, InfoGluePrincipalControllerProxy.getController().getTestPrincipal());
List found = contentCategoryStore.findByCategory(testCategory.getId());
assertEquals("Wrong number of ContentCategories found", 1, found.size());
assertTrue("ContentCategory not found by Category", found.contains(cc));