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