@Test(expectedExceptions = {UnsupportedOperationException.class}) public void testProcessMessage() { EventBroadcaster eb = new BasicEventBroadcaster(); eb.processEvent(null); }
@Override public void processEvent(Event event) { throw new UnsupportedOperationException("Use " + getClass().getSimpleName() + ".broadcastEvent instead."); }
BasicEventBroadcaster implements EventBroadcaster { @Override public void processEvent(Event event) { throw new UnsupportedOperationException("Use " + getClass().getSimpleName() + ".broadcastEvent instead."); } }
BasicEventBroadcaster implements EventBroadcaster { @Override public void processEvent(Event event) { throw new UnsupportedOperationException("Use " + getClass().getSimpleName() + ".broadcastEvent instead."); } BasicEventBroadcaster(); }
BasicEventBroadcaster implements EventBroadcaster { @Override public void processEvent(Event event) { throw new UnsupportedOperationException("Use " + getClass().getSimpleName() + ".broadcastEvent instead."); } BasicEventBroadcaster(); @Override void addListener(Listener listener); @Override void addListener(Listener listener, Filter filter); @Override void broadcastEvent(Event event); @Override void removeListener(Listener listener); @Override void processEvent(Event event); }
BasicEventBroadcaster implements EventBroadcaster { @Override public void processEvent(Event event) { throw new UnsupportedOperationException("Use " + getClass().getSimpleName() + ".broadcastEvent instead."); } BasicEventBroadcaster(); @Override void addListener(Listener listener); @Override void addListener(Listener listener, Filter filter); @Override void broadcastEvent(Event event); @Override void removeListener(Listener listener); @Override void processEvent(Event event);  }