@TestOnly
  public static void setErrorHandler(@NotNull Disposable parentDisposable,
                                     @NotNull Consumer<? super ConfigurationErrorDescription> errorHandler) {
    ourErrorHandler = errorHandler;
    Disposer.register(parentDisposable, () -> ourErrorHandler = null);
  }
@TestOnly
  public static void setErrorHandler(@NotNull Disposable parentDisposable,
                                     @NotNull Consumer<? super ConfigurationErrorDescription> errorHandler)