@Override
  @RequiresEdt
  public @NotNull Pair<@Nullable String, Boolean> showInputDialogWithCheckBox(String message,
                                                                              String title,
                                                                              String checkboxText,
                                                                              boolean checked,
                                                                              boolean checkboxEnabled,
                                                                              Icon icon,
                                                                              String initialValue,
                                                                              InputValidator validator) {
    if (isApplicationInUnitTestOrHeadless()) {
      return new Pair<>(TestDialogManager.getTestInputImplementation().show(message), checked);
    }

    InputDialogWithCheckbox dialog =
      new InputDialogWithCheckbox(message, title, checkboxText, checked, checkboxEnabled, icon, initialValue, validator);
    dialog.show();
    return Pair.create(dialog.getInputString(), dialog.isChecked());
  }
@Override
  @RequiresEdt
  public @NotNull Pair<@Nullable String, Boolean> showInputDialogWithCheckBox(String message,
                                                                              String title,
                                                                              String checkboxText,
                                                                              boolean checked,
                                                                              boolean checkboxEnabled,
                                                                              Icon icon,
                                                                              String initialValue,
                                                                              InputValidator validator)