@Override
    public void serialize(ByteBuffer destination, boolean includeNextBlockMetadata) {
      LOG.info("Serialized " + this + " to " + destination);
    }
Tests that {@link CacheConfig} does as expected.
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java