assertTrue(element instanceof RssFeed);
RssFeed rssFeed = (RssFeed)element;
assertNotNull(rssFeed);
// Convert RssFeed into SyndFeed
SyndFeed syndFeed = new SyndFeed();
syndFeed = rssFeed.toSynd(syndFeed);
assertNotNull(syndFeed);
assertNotNull(syndFeed.getTitle());
assertEquals(FEED_TITLE, syndFeed.getTitle().getValue());
assertNotNull(syndFeed.getLink("alternate"));
assertEquals(FEED_LINK, syndFeed.getLink("alternate").getHref());
assertNotNull(syndFeed.getSubtitle());
assertEquals(FEED_DESCRIPTION, syndFeed.getSubtitle().getValue());
assertNotNull(syndFeed.getLang());
assertEquals(FEED_LANGUAGE, syndFeed.getLang());
assertNotNull(syndFeed.getRights());
assertEquals(FEED_COPYRIGHT, syndFeed.getRights().getValue());
assertTrue(syndFeed.getAuthors().size() > 0);
assertEquals(FEED_EDITOR, syndFeed.getAuthors().get(0).getEmail());
assertNotNull(syndFeed.getUpdated());
assertEquals(RssChannel.convertRssDateToJavaDate(FEED_LASTBUILDDATE), syndFeed.getUpdated());
assertTrue(syndFeed.getCategories().size() == 2);
assertEquals(FEED_CTG1_DOMAIN, syndFeed.getCategories().get(0).getScheme());
assertEquals(FEED_CTG1_VALUE, syndFeed.getCategories().get(0).getLabel());
assertEquals(FEED_CTG2_DOMAIN, syndFeed.getCategories().get(1).getScheme());
assertEquals(FEED_CTG2_VALUE, syndFeed.getCategories().get(1).getLabel());
assertNotNull(syndFeed.getGenerator());
assertEquals(FEED_GENERATOR, syndFeed.getGenerator().getValue());
assertNotNull(syndFeed.getLogo());
assertEquals(FEED_IMAGE_URL, syndFeed.getLogo());
assertTrue(syndFeed.getEntries().size() > 0);
SyndEntry syndEntry = syndFeed.getEntries().get(0);
assertNotNull(syndEntry);
assertNotNull(syndEntry.getTitle());
assertEquals(ITEM_TITLE, syndEntry.getTitle().getValue());