@Override
    protected void refCountChangedTestHook(Long address, boolean decRefCount, int rc) {
      if (refCountChangedTestHookCount == 0) {
        refCountChangedTestHookCount++;
        refCountChanged(address, decRefCount, rc);
      } else {
        refCountChangedTestHookCount--;
      }
    }
Reinvoke refCountChanged to update reference count. Hooked SUT should see that the count has
changed.
geode-core/src/test/java/org/apache/geode/internal/offheap/ReferenceCountHelperImplTest.java