class BasicEventBroadcaster implements EventBroadcaster {

    @Override
    public void processEvent(Event event) {
        throw new UnsupportedOperationException("Use " + getClass().getSimpleName() + ".broadcastEvent instead.");
    }

}

class BasicEventBroadcasterTest {

    @Test(expectedExceptions = {UnsupportedOperationException.class})

    public void testProcessMessage() {
        EventBroadcaster eb = new BasicEventBroadcaster();
        eb.processEvent(null);
    }

}