@Test public void test_dispatchesEventToHandler() { final ClickHandler handler = mock(ClickHandler.class); event.dispatch(handler); verify(handler).onClick(event); }
@Override protected void dispatch(ClickHandler handler) { handler.onClick(this); }
ClickEvent extends Event<ClickHandler> { @Override protected void dispatch(ClickHandler handler) { handler.onClick(this); } }
ClickEvent extends Event<ClickHandler> { @Override protected void dispatch(ClickHandler handler) { handler.onClick(this); }  }
ClickEvent extends Event<ClickHandler> { @Override protected void dispatch(ClickHandler handler) { handler.onClick(this); }  static Event.Type<ClickHandler> getType(); @Override Event.Type<ClickHandler> getAssociatedType(); }
ClickEvent extends Event<ClickHandler> { @Override protected void dispatch(ClickHandler handler) { handler.onClick(this); }  static Event.Type<ClickHandler> getType(); @Override Event.Type<ClickHandler> getAssociatedType();  }