NodeState n2 = createNodeState();
NodeState n3 = createNodeState();
PropertyState p1 = createPropertyState(n1.getNodeId(), "{}a");
PropertyState p2 = createPropertyState(n2.getNodeId(), "{}b");
ChangeLog changes = new ChangeLog();
changes.added(n1);
changes.added(p1);
changes.deleted(p2);
changes.modified(n2);
changes.deleted(n3);
List events = new ArrayList();
events.add(createEventState(n1, Event.NODE_ADDED, "{}n1", session));
events.add(createEventState(p1, n1, Event.PROPERTY_ADDED, session));
events.add(createEventState(p2, n2, Event.PROPERTY_REMOVED, session));