assertEquals(ChannelFormat.RSS_2_0, channel_msdn.getFormat());
}
public void testParseYahooBusiness() throws Exception {
File inpFile = new File(getDataDir(), "business.rss");
ChannelIF channel_business = FeedParser.parse(new ChannelBuilder(), inpFile);
assertEquals("Yahoo! News - Business", channel_business.getTitle());
assertEquals("http://news.yahoo.com/news?tmpl=index&cid=1885",
channel_business.getSite().toString());
assertEquals(9, channel_business.getItems().size()); // two pairs of duplicates
assertEquals(ChannelFormat.RSS_2_0, channel_business.getFormat());