static String resolveWorkingDirectory(String userSpecifiedDir, String memberNameDir) {
    String resolvedDir;
    if (StringUtils.isBlank(userSpecifiedDir)) {
      resolvedDir = resolveWorkingDirectory(new File(memberNameDir));
    } else {
      resolvedDir = resolveWorkingDirectory(new File(userSpecifiedDir));
    }
    return resolvedDir;
  }
Encapsulates methods used by StartServerCommand and StartLocatorCommand and their associated
tests.

@see StartLocatorCommand
@see StartServerCommand
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/StartMemberUtils.java