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);
IAttachment att1news1 = fFactory.createAttachment(null, news1);
att1news1.setLink(new URI("http://www.attachment.com/att1news1.file"));
att1news1.setType("bin/mp3");
INews news2 = createNews(feed, " Bar", "http://www.news.com/news2.html", State.NEW);
news2.setDescription("This is a longer description with <html><h2>included!</h2></html>");
ICategory news2cat1 = fFactory.createCategory(null, news2);
news2cat1.setName("apple");
ICategory news2cat2 = fFactory.createCategory(null, news2);
news2cat2.setName("pasero");
ILabel label2 = fFactory.createLabel(null, "todo");
news2.setLabel(label2);
IAttachment att1news2 = fFactory.createAttachment(null, news2);
att1news2.setLink(new URI("http://www.attachment.com/att1news2.file"));
att1news2.setType("bin/doc");
IAttachment att2news2 = fFactory.createAttachment(null, news2);
att2news2.setLink(new URI("http://www.attachment.com/att2news2.file"));
att2news2.setType("bin/wav");
INews news3 = createNews(feed, "Foo Bar", "http://www.news.com/news3.html", State.NEW);
news3.setDescription("This is a longer description with \n newlines and <html><h2>included!</h2></html>");
IPerson author3 = fFactory.createPerson(null, news3);
author3.setName("Benjamin Pasero");