@Deprecated(forRemoval = true)
    public static void register(@NotNull String groupId, @NotNull NotificationDisplayType defaultDisplayType) {
      if (ApplicationManager.getApplication().isUnitTestMode()) return;
      SwingUtilities.invokeLater(() -> {
        Application app = ApplicationManager.getApplication();
        if (!app.isDisposed()) {
          app.getMessageBus().syncPublisher(TOPIC).register(groupId, defaultDisplayType);
        }
      });
    }
@Deprecated(forRemoval = true)
    public static void register(@NotNull String groupId, @NotNull NotificationDisplayType defaultDisplayType)