expect(spec.getComponentEvents()).andReturn(compEvents);
expect(spec.getElementEvents()).andReturn(Collections.EMPTY_MAP);
invoker.addEventListener("path/comp1", spec);
spec.rewireComponentId("comp1", "path/comp1", "Home/path/comp1");
replay();
EventConnectionVisitor v = new EventConnectionVisitor();
v.setEventInvoker(invoker);