private static boolean getDirectoryName(@NotNull Context context) {

    if (ApplicationManager.getApplication().isUnitTestMode()) {
      context.directoryName = "test";
      return true;
    }
    context.directoryName = Messages.showInputDialog((Project)null,
                                                     VcsBundle.message("dialog.message.enter.directory.name", context.directory.getName()),
                                                     VcsBundle.message("dialog.title.project.directory.name"), null, context.directoryName, null);
    return context.directoryName != null;
  }
private static boolean getDirectoryName(@NotNull Context context)