IFeed feed = fFactory.createFeed(null, new URI("http://www.feed.com/feed.xml"));
INews news = createNews(feed, "Foo", "http://www.news.com/news1.html", State.READ);
createNews(feed, "Hello", "http://www.news.com/news2.html", State.READ); //Used to validate count of results == 1
createNews(feed, "World", "http://www.news.com/news3.html", State.READ); //Used to validate count of results == 1
ICategory category = fFactory.createCategory(null, news);
category.setName("Karakas");
category = fFactory.createCategory(null, news);
category.setName("Paris Hilton");
DynamicDAO.save(feed);
waitForIndexer();
ISearchField allField = fFactory.createSearchField(IEntity.ALL_FIELDS, fNewsEntityName);