"should only contain permission == {name = "
+ perm2.getName()
+ "}, {action = "
+ perm2.getActions()
+ "}, in collection of size == 1, actual size: "
+ (Collections.list(permCol2.elements())).size(),
validatePermissions(permCol2, perm2, 1));
}
catch (SecurityException sex)
{
assertTrue("could not remove permission. exception caught: " + sex, false);