@After
  public void tearDown() throws Exception {
    if (socket != null) {
      socket.close();
    }

    System.clearProperty(GEMFIRE_PREFIX + "clientSocketFactory");
    SocketCreatorFactory.getSocketCreatorForComponent(CLUSTER).initializeClientSocketFactory();

    invokedCreateSocket = false;
  }
Integration tests for ClientSocketFactory.

<p>
Extracted from {@code JSSESocketJUnitTest}.
geode-core/src/integrationTest/java/org/apache/geode/internal/net/ClientSocketFactoryIntegrationTest.java