spec.addEventListener("comp1", new String[] {"onClick"}, "testFoo", null, false, false, false, false);
IComponent comp = newComponent(spec, "comp1", "path/", "Home/");
IComponentEventInvoker invoker = newMock(IComponentEventInvoker.class);
invoker.addEventListener("path/comp1", spec);
replay();
EventConnectionVisitor v = new EventConnectionVisitor();
v.setEventInvoker(invoker);