public static void revertSetAsInitial() {
    for (final Object o : oldSystemProps.entrySet()) {
      Map.Entry entry = (Map.Entry) o;
      restoreSystemProperty((String) entry.getKey(), (String) entry.getValue());
    }
  }
Restores the properties changed by setAsInitial(). This method should be called in tearDown()to
clean up all changes to the environment in case if the test is running in the app server.
geode-core/src/main/java/org/apache/geode/internal/jndi/InitialContextFactoryImpl.java