@Override
    protected void checkRefCount() {
      checkRefCountCalls++;
      super.checkRefCount();
    }
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