SessionEventMatcher matcher =
prepareActionCatalog(daction, actionInfo.getEventType(), null, true, new InternalQName[]{session
.getLocationFactory().parseJCRName("nt:folder").getInternalName()}, null, null);
assertEquals(0, daction.getActionExecuterCount());
Context ctx = new ContextBase();
ctx.put("node", node);
actionInfo.execute(ctx);
assertEquals(1, daction.getActionExecuterCount());
actionInfo.tearDown(ctx);
daction = new DummyAction();
matcher =
prepareActionCatalog(daction, actionInfo.getEventType(), null, true, new InternalQName[]{session
.getLocationFactory().parseJCRName("nt:folder").getInternalName()}, null, null);
assertEquals(0, daction.getActionExecuterCount());
ctx.put("node", node2);
actionInfo.execute(ctx);
assertEquals(0, daction.getActionExecuterCount());
actionInfo.tearDown(ctx);
node.remove();