setupPermission("/a", testPrincipal, true, PrivilegeConstants.JCR_READ);
try {
Root testRoot = getTestRoot();
Tree test = testRoot.getTree(referenceablePath);
test.removeProperty(JCR_UUID);
testRoot.commit();
fail("Removing the jcr:uuid property of a referenceable node must fail.");
} catch (CommitFailedException e) {
assertEquals(CommitFailedException.CONSTRAINT, e.getType());
assertEquals(22, e.getCode());