public static void setVersionForTesting(short ver) {
    if (ver > KnownVersion.CURRENT_ORDINAL) {
      overrideClientVersion = ver;
    } else {
      currentClientVersion =
          Versioning.getKnownVersionOrDefault(Versioning.getVersion(ver),
              KnownVersion.CURRENT);
      overrideClientVersion = -1;
    }
  }
Clone a HandShake to be used in creating other connections
geode-core/src/main/java/org/apache/geode/cache/client/internal/ClientSideHandshakeImpl.java