void (@NotNull final Project project, @NotNull PsiFile file, @NotNull PsiElement psiElement, @Nullable final String suggestedKey, @Nullable final List<PropertiesFile> propertiesFiles) { final I18nizeQuickFixModel model; final I18nizeQuickFixDialog.DialogCustomization dialogCustomization = createDefaultCustomization(suggestedKey, propertiesFiles); if (ApplicationManager.getApplication().isUnitTestMode()) { model = new I18nizeQuickFixModel() { @Override public String getValue() { return ""; } @Override public String getKey() { return dialogCustomization.getSuggestedName(); } @Override public boolean hasValidData() { return true; } @Override public Collection<PropertiesFile> getAllPropertiesFiles() { return propertiesFiles; } }; } else { model = new I18nizeQuickFixDialog( project, file, getFixName(), dialogCustomization ); } doAction(project, psiElement, model); }