rNode.setNames(REP_NT_NAMES); // empty array
provider.validateRestrictions("/test", aceNode.getTree());
// remove mandatory restriction
rNode.removeProperty("boolean");
try {
provider.validateRestrictions("/test", aceNode.getTree());
fail("validation should detect missing mandatory restrictions");
} catch (AccessControlException e) {
// success