@Test
  public void testNetWriteBufferResize() throws Exception {
    useCustomBufferSizeSelector(null, 10, null);
    String connectionId = blockingSSLConnect(DEFAULT_SOCKET_BUF_SIZE);
    String message = SelectorTest.randomString(10, new Random());
    assertEquals("Wrong echoed response", message, blockingRequest(connectionId, message));
  }
Tests handling of BUFFER_OVERFLOW during wrap when network write buffer is smaller than SSL session packet buffer
size.
ambry-network/src/test/java/com/github/ambry/network/SSLSelectorTest.java