superuser.save();
Value v1 = root.getProperty("p1").getValue();
Value v2 = root.getProperty("p2").getValue();
if (v1 instanceof JackrabbitValue && v2 instanceof JackrabbitValue) {
JackrabbitValue j1 = (JackrabbitValue) v1;
JackrabbitValue j2 = (JackrabbitValue) v2;
String id1 = j1.getContentIdentity();
String id2 = j2.getContentIdentity();
assertNotNull(id1);
assertEquals(id1, id2);
}
// copying a value should not stream the content