// cond.put(SessionEventMatcher.PATH_KEY, node.getInternalPath());
// cond.put(SessionEventMatcher.NODETYPE_KEY,
// ((NodeTypeImpl)node.getPrimaryNodeType()).getQName());
// test by event type
SessionEventMatcher matcher = new SessionEventMatcher(Event.NODE_ADDED, null, true, null, null, ntHolder);
catalog.addAction(matcher, new DummyAction());
Condition cond = new Condition();
cond.put(SessionEventMatcher.EVENTTYPE_KEY, Event.NODE_ADDED);
assertEquals(1, catalog.getActions(cond).size());
cond.put(SessionEventMatcher.EVENTTYPE_KEY, ExtendedEvent.ADD_MIXIN);