### Question:
FastEventDispatcher implements EventDispatchStrategy { @Override public void dispatch(Event event) { if ( event == null ) throw new NullPointerException("Event required."); final Bag<EventListener> listeners = getListenersForHierarchical(event.getClass()); Object[] data = listeners.getData(); for (int i = 0, s = listeners.size(); i < s; i++) { final EventListener listener = (EventListener) data[i]; if (listener != null) { listener.handle(event); } } }  @Override void register(EventListener listener); @Override void dispatch(Event event); @Override void process(); @Override T dispatch(Class<T> type);  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void Dispatch_ShouldNotDispatchClassEvents() { dispatcher.dispatch(BaseEvent.class); }