IFolder folder = fDao.saveFolder(fFactory.createFolder(null, null, "Root"));
IFeed feed1 = createFeedWithNews(new URL("http://www.url1.com"), 100, 0, today - DAY, today + 5 * HOUR, 0);
fFactory.createBookMark(null, folder, feed1.getLink(),
new FeedReference(feed1.getId()), "BookMark1");
IFeed feed2 = createFeedWithNews(new URL("http://www.url2.com"), 100, 50, today - 7 * DAY, today + 8 * HOUR, 0);
fFactory.createBookMark(null, folder, feed2.getLink(),
new FeedReference(feed2.getId()), "BookMark2");
IFeed feed3 = createFeedWithNews(new URL("http://www.url3.com"), 100, 100, today - 31 * DAY, today - 25 * DAY, 0);
fFactory.createBookMark(null, folder, feed3.getLink(),
new FeedReference(feed3.getId()), "BookMark3");
fDao.saveFolder(folder);
IBookMark bookMark1 = null, bookMark2 = null, bookMark3 = null;
List<IMark> marks = folder.getMarks();