@VisibleForTesting
  public void setBufferForTestingOnly(final ByteBuffer newBufferForTesting) {
    ((ByteBufferSharingInternalImpl) sharing).buffer = newBufferForTesting;
  }
The destructor. Called by the resource owner to undo the work of the constructor.
geode-core/src/main/java/org/apache/geode/internal/net/ByteBufferVendor.java