SessionEventMatcher matcher =
new SessionEventMatcher(ExtendedEvent.NODE_MOVED, new QPath[]{((NodeImpl) root).getInternalPath()}, true, null,
new InternalQName[]{Constants.NT_UNSTRUCTURED}, ntHolder);
DummyAction dAction = new DummyAction();
catalog.addAction(matcher, dAction);
root.orderBefore("n2[2]", "n2");
session.save();
assertEquals(1, dAction.getActionExecuterCount());
assertEquals("/n2[2]", ((NodeImpl)dAction.getInfo().get(InvocationContext.PREVIOUS_ITEM)).getPath());