final DataObject audited12 = new MockAuditableChild();
audited12.writeProperty("parent", auditedParent1);
final DataObject audited13 = new MockAuditableChild();
audited13.writeProperty("parent", auditedParent1);
DataChannelFilterChain chain = mock(DataChannelFilterChain.class);
when(chain.onSync(context, changes, DataChannel.FLUSH_CASCADE_SYNC)).thenAnswer(new Answer<GraphDiff>() {
public GraphDiff answer(InvocationOnMock invocation) throws Throwable {
filter.updateAudit(auditedParent1);
filter.updateAuditChild(audited11);
filter.updateAuditChild(audited12);