@Subscribe
    public void handleDeadEvent(DeadEvent event) {
        LOGGER.debug("Received unhandled event of type <{}> from event bus <{}>", event.getEvent().getClass().getCanonicalName(),
                event.getSource().toString());
        LOGGER.debug("Dead event contents: {}", event.getEvent());
    }
@Test
    public void testEventListenerWithEventBus() {
        final EventBus eventBus = new EventBus("test");
        final SimpleEvent event = new SimpleEvent("test");
        final DeadEventLoggingListener listener = spy(new DeadEventLoggingListener());
        eventBus.register(listener);

        eventBus.post(event);

        verify(listener, times(1)).handleDeadEvent(any(DeadEvent.class));
    }