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