private static final List<DataBlockEncoding> createEncodingsToIterate() {
    List<DataBlockEncoding> encodings = new ArrayList<>(Arrays.asList(DataBlockEncoding.values()));
    encodings.add(DataBlockEncoding.NONE);
    return Collections.unmodifiableList(encodings);
  }
Tests changing data block encoding settings of a column family.
hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java