fail("not allowed");
} catch (AuthorizationException e) {
assertNotNull(e.getMessage());
}
mi.addPermissionResolver(new PermissionResolver() {
public void filterSetByAction(Set<Object> arg0, String arg1) {
}
public boolean hasPermission(Object arg0, String arg1) {
return (arg1.equals(RoleTypes.PACKAGE_DEVELOPER));