changes.appendDiffs(diffs);
Iterator it = diffs.iterator();
while (it.hasNext()) {
Object diff = it.next();
if (diff instanceof ArcOperation) {
ArcOperation arcDelete = (ArcOperation) diff;
if (arcDelete.getNodeId().equals(a.getObjectId())
&& arcDelete.getTargetNodeId().equals(b.getObjectId())
&& arcDelete.getArcId().equals(
DeleteRuleFlatA.FLAT_B_PROPERTY)
&& !arcDelete.isDelete()) {
fail("Join was deleted for flattened relationship");
}
}
}
}