public void testPageBookmarksWithTag4() throws Exception {
DaoResult<Bookmark> result = null;
List<Bookmark> bmarks = null;
result = folderDao.pageBookmarks(new Folder(1), new Tag(1), 0, 3,
FolderDao.SORT_BY_BMRK_FLDR_LAST_UPDATED, FolderDao.DESCENDING);
bmarks = result.getResult();
assertEquals(303, bmarks.get(0).getId());
assertEquals(301, bmarks.get(1).getId());
assertEquals(300, bmarks.get(2).getId());
result = folderDao.pageBookmarks(new Folder(1), new Tag(1), 0, 3,
FolderDao.SORT_BY_BMRK_FLDR_LAST_UPDATED, FolderDao.ASCENDING);
bmarks = result.getResult();
assertEquals(300, bmarks.get(0).getId());
assertEquals(301, bmarks.get(1).getId());
assertEquals(303, bmarks.get(2).getId());