User gnizr = new User("gnizr");
List<BookmarkTag> bTags = tagManager.listBookmarkTag(gnizr);
assertEquals(2,bTags.size());
assertEquals("zirrus",bTags.get(1).getBookmark().getTitle());
BookmarkManager bManager = new BookmarkManager(getGnizrDao());
Bookmark bm300 = bManager.getBookmark(300);
String tags = bm300.getTags();
bm300.setTags(tags + " web cnn");
assertTrue(bManager.updateBookmark(bm300));
assertEquals(202,bm300.getLink().getId());
bTags = tagManager.listBookmarkTag(gnizr);
assertEquals(3,bTags.size());
assertEquals(202,bTags.get(1).getBookmark().getLink().getId());