public static boolean publishEvent(final Event event) {
        try {
            return publishEvent(event.getClass(), event);
        } catch (Throwable ex) {
            LOGGER.error("There was an exception to the message publishing : ", ex);
            return false;
        }
    }
@Test
    void testPublishEventByNoPublisher() {
        for (int i = 0; i < 3; i++) {
            assertFalse(NotifyCenter.publishEvent(new NoPublisherEvent()));
        }
    }