void (final Project project, final @NlsContexts.DialogMessage String message) { if (ApplicationManager.getApplication().isUnitTestMode()) return; VcsImplUtil.showErrorMessage(project, message, VcsBundle.message("patch.apply.dialog.title")); }