BrowserEvent event = new BrowserEvent("onSelect", new EventTarget(tprops));
ComponentEventInvoker invoker = new ComponentEventInvoker();
invoker.setInvoker(listenerInvoker);
spec.addElementEventListener("testId", new String[] { "onSelect" },
"fooListener", null, false, true, true);
invoker.addEventListener("testId", spec);
expect(comp.getExtendedId()).andReturn("testId").anyTimes();
expect(comp.getSpecification()).andReturn(spec).anyTimes();