context.deleteObject(test3);
context.commitChanges();
}
public void testNoActionToMany() {
DeleteRuleTest2 test2 = (DeleteRuleTest2) context.newObject("DeleteRuleTest2");
DeleteRuleTest3 test3 = (DeleteRuleTest3) context.newObject("DeleteRuleTest3");
test3.setToDeleteRuleTest2(test2);
context.commitChanges();
// must go on without exceptions...