public void testDeleteRDFInstanceTags() throws Exception{
User user = new User(1);
UserTag classTag = new UserTag(3);
TagAssertionDao dao = getGnizrDao().getTagAssertionDao();
List<TagAssertion> result = dao.findTagAssertion(user, null,manager.getRdfTypeProperty(),classTag);
assertEquals(1,result.size());
List<String> instTags = new ArrayList<String>();
instTags.add("funstuff");
instTags.add("stufffun");
assertTrue(manager.addRDFInstanceTags(user, classTag, instTags));
result = dao.findTagAssertion(user, null,manager.getRdfTypeProperty(),classTag);
assertEquals(3,result.size());
assertTrue(manager.deleteRDFInstanceTags(user, classTag, instTags));
result = dao.findTagAssertion(user, null,manager.getRdfTypeProperty(),classTag);
assertEquals(1,result.size());
}