public void testCreateFeedWithCustomModeAndType() throws MalformedURLException
{
DirectOPMLFeed opmlFeed = new DirectOPMLFeed("Feed", "file://test", "", 1, null, null, -1,
null, null, null, null, null, null, false, 1, true, 2, false, 0);
DirectFeed feed = Helper.createDirectFeed(new URL("file://test"), opmlFeed);
assertEquals(1, feed.getType().getType());
assertTrue(feed.isCustomViewModeEnabled());
assertEquals(2, feed.getCustomViewMode());
assertFalse(feed.getAscendingSorting());
}