PortletEntry feeder = (PortletEntry) portlets.elementAt(3);
assertNotNull(feeder);
assertTrue(feeder.getName().equals("Feeder"));
assertTrue(feeder.getType().equals("ref"));
Iterator fi = feeder.listCategories();
Category cat = (Category) fi.next();
assertTrue(cat.getName().equals("news.world.politics"));
assertTrue(cat.getGroup().equals("news"));
assertTrue(feeder.hasCategory("news.world.politics", "news"));
feeder.addCategory("news.us.economy");
assertTrue(feeder.hasCategory("news.us.economy"));
feeder.removeCategory("news.us.economy");
assertTrue(!feeder.hasCategory("news.us.economy"));