private String quoteArgument(String argument) {
    if (!argument.startsWith(DOUBLE_QUOTE)) {
      argument = DOUBLE_QUOTE + argument;
    }

    if (!argument.endsWith(DOUBLE_QUOTE)) {
      argument = argument + DOUBLE_QUOTE;
    }

    return argument;
  }
- Helper class to build command strings, used in the Dunits for testing gfsh commands

@since GemFire 7.0
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/util/CommandStringBuilder.java