class SimpleEventBus implements EventBus {

    @Override
    public void broadcast(String event, String data) {
        for (Map.Entry<String, Subscription> entry : subscriptions.entrySet()) {
            entry.getValue().onEvent(event, data);
        }
    }

}