private void addCacheServer(int serverPort, Integer maxBetweenPings) throws IOException {
    server = cache.addCacheServer();
    if (maxBetweenPings != null) {
      server.setMaximumTimeBetweenPings(maxBetweenPings);
    }
    server.setPort(serverPort);
    server.start();
  }
Tests the functionality of operations of AbstractConnectionProxy & its derived classes.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/tier/sockets/ConnectionProxyIntegrationTest.java