@Override
    public void recordBlockSize(IntConsumer blockSizeConsumer) {
      recordBlockSizeCallCount++;
      hook.onRecordBlockSize(recordBlockSizeCallCount);
      super.recordBlockSize(blockSizeConsumer);
    }
This test is for HBASE-26494, test the {@link RefCnt} behaviors in {@link ImmutableMemStoreLAB}
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStore.java