GnizrDaoUtil.fillId(tagDao,userDao,ut);
GnizrDaoUtil.fillObject(tagDao, userDao, ut);
assertEquals((1),ut.getCount());
assertEquals((1),ut.getTag().getCount());
LinkTag lt = new LinkTag("http://www.learntechnology.net/webwork-crud-lm.do","learning");
GnizrDaoUtil.fillId(tagDao, linkDao,lt);
GnizrDaoUtil.fillObject(tagDao, linkDao,lt);
assertEquals((1),lt.getCount());
assertEquals((1),lt.getTag().getCount());
assertTrue(manager.deleteBookmark(bookmark));
List<Bookmark> r = bookmarkDao.findBookmark(user, link);
assertTrue(r.isEmpty());
GnizrDaoUtil.fillId(tagDao,userDao,ut);
GnizrDaoUtil.fillObject(tagDao, userDao, ut);
assertEquals((0),ut.getCount());
assertEquals((0),ut.getTag().getCount());
GnizrDaoUtil.fillId(tagDao, linkDao,lt);
GnizrDaoUtil.fillObject(tagDao, linkDao,lt);
assertEquals((0),lt.getCount());
assertEquals((0),lt.getTag().getCount());
}