adminRegistry.applyTag("/r1", "java");
fooRegistry.applyTag("/r1", "java");
barRegistry.applyTag("/r1", "java");
// normal user removes a tag. only the tag applied by the user is removed
barRegistry.removeTag("/r1", "java");
Tag[] tags4 = adminRegistry.getTags("/r1");
assertEquals("There should be 2 taggings on resource '/r1'", 2, tags4[0].getTagCount());
}
}