domain.getEntityResolver().getCallbackRegistry().addListener(changeSetFilter);
ObjectContext context = runtime.getContext();
Auditable1 a2 = Cayenne.objectForPK(context, Auditable1.class, 2);
AuditableChild2 a21 = Cayenne.objectForPK(context, AuditableChild2.class, 1);
a21.setParent(a2);
a21.setCharProperty1("XYZA");
context.commitChanges();
assertEquals(0, processor.size);
processor.reset();
Auditable1 a3 = Cayenne.objectForPK(context, Auditable1.class, 3);
a21.setParent(a3);
a3.setCharProperty1("12");
context.commitChanges();
assertEquals(1, processor.size);
assertTrue(processor.audited.get(AuditableOperation.UPDATE).contains(a3));