*/
@Test
@SuppressWarnings("nls")
public void testOPML() throws Exception {
InputStream inS = getClass().getResourceAsStream("/data/interpreter/feed_opml.xml");
IFeed feed = new Feed(new URI("http://www.data.interpreter.feed_opml.xml"));
Owl.getInterpreter().interpret(inS, feed);
assertEquals("OPML", feed.getFormat());
assertEquals("opml_title", feed.getTitle());
assertNotNull(feed.getLastModifiedDate());
assertNotNull(feed.getLastBuildDate());
assertNotNull(feed.getAuthor());
assertEquals("opml_ownername", feed.getAuthor().getName());
assertEquals(new URI("opml_owneremail"), feed.getAuthor().getEmail());
assertEquals(4, feed.getNews().size());
INews news1 = feed.getNews().get(0);
assertEquals("opml_outline1.title", news1.getTitle());
assertEquals(new URI("opml_outline1.url"), news1.getLink());
assertEquals("opml_outline1.text", news1.getDescription());
INews news4 = feed.getNews().get(3);
assertEquals("opml_outline4.title", news4.getTitle());
assertEquals(new URI("opml_outline4.url"), news4.getLink());
assertEquals("opml_outline4.text", news4.getDescription());
}