bm300 = manager.getBookmark(300);
assertTrue(bm300.getTagList().contains("tag1"));
assertTrue(bm300.getTagList().contains("tag2"));
assertTrue(bm300.getTagList().contains("tag3"));
List<FolderTag> fTags = folderDao.findTagsInFolder(new Folder(1), 0, FolderDao.SORT_BY_ALPHA, FolderDao.ASCENDING);
assertEquals(0,fTags.size());
List<Bookmark> bmarks = new ArrayList<Bookmark>();
bmarks.add(bm300);
boolean[] opOkay = folderDao.addBookmarks(new Folder(1), bmarks,GregorianCalendar.getInstance().getTime());
assertEquals(true,opOkay[0]);
fTags = folderDao.findTagsInFolder(new Folder(1), 1, FolderDao.SORT_BY_ALPHA, FolderDao.ASCENDING);
assertEquals(3,fTags.size());
boolean okay = manager.renameTag(new User(1), "tag1", new String[]{"tag0"});
assertTrue(okay);
okay = manager.renameTag(new User(1), "tag2", new String[]{"tag0"});
assertTrue(okay);
okay = manager.renameTag(new User(1), "tag3", new String[]{"tag3","web"});
assertTrue(okay);
fTags = folderDao.findTagsInFolder(new Folder(1), 1, FolderDao.SORT_BY_ALPHA, FolderDao.ASCENDING);
assertEquals(3,fTags.size());
FolderTag t1 = fTags.get(0);
FolderTag t2 = fTags.get(1);
FolderTag t3 = fTags.get(2);