public int getCheckRefCountCalls() {
      return checkRefCountCalls;
    }
Tests that we only call the logic in checkRefCount for ByteBuff's that have a non-NONE
recycler.
hbase-common/src/test/java/org/apache/hadoop/hbase/io/TestByteBuffAllocator.java