IFeed feed = fFactory.createFeed(null, new URI("http://www.feed.com/feed.xml"));
INews news1 = createNews(feed, "Foo", "http://www.news.com/news1.html", State.READ);
ICategory news1cat1 = fFactory.createCategory(null, news1);
news1cat1.setName("apple");
ILabel label1 = fFactory.createLabel(null, "work");
news1.setLabel(label1);
INews news2 = createNews(feed, " Bar", "http://www.news.com/news2.html", State.NEW);
news2.setRating(10);
ICategory news2cat1 = fFactory.createCategory(null, news2);
news2cat1.setName("apple");
ICategory news2cat2 = fFactory.createCategory(null, news2);
news2cat2.setName("fafa");
ILabel label2 = fFactory.createLabel(null, "todo");
news2.setLabel(label2);
cal.setTimeInMillis(System.currentTimeMillis() - 5 * DAY);
news2.setModifiedDate(cal.getTime());
INews news3 = createNews(feed, "Foo Bar Pasero", "http://www.news.com/news3.html", State.NEW);