@Override
  public SSLEngineResult wrap(ByteBuffer[] byteBuffers, int i, int i1, ByteBuffer byteBuffer) throws SSLException {
    return delegateEngine.wrap(byteBuffers, i, i1, byteBuffer);
  }
@param delegateEngine An {@link SSLEngine} to delegate to in most cases.
@param sessionToReturn If not {@code null}, return this certificate in {@link #getSession()} instead of delegating.
ambry-test-utils/src/main/java/com/github/ambry/rest/MockSSLEngine.java