public void testGetAttachmentLinks() throws Exception {
IFeed feed = fFactory.createFeed(null, new URI("http://www.rssowl.org"));
INews news1 = fFactory.createNews(null, feed, new Date());
INews news2 = fFactory.createNews(null, feed, new Date());
IAttachment att = fFactory.createAttachment(null, news2);
att = fFactory.createAttachment(null, news2);
att.setLink(new URI("foobar"));
INews news3 = fFactory.createNews(null, feed, new Date());
att = fFactory.createAttachment(null, news3);
att.setLink(new URI("http://www.rssowl.org/download1.mp3"));
att = fFactory.createAttachment(null, news3);
att.setLink(new URI("/download2.mp3"));
att = fFactory.createAttachment(null, news3);
att.setLink(new URI("download3.mp3"));
List<INews> news = new ArrayList<INews>();
news.add(news1);
news.add(news2);
news.add(news3);