public static List<KeyValueScanner> scanFixture(KeyValue[]... kvArrays) {
    ArrayList<KeyValueScanner> scanners = new ArrayList<>();
    for (KeyValue[] kvs : kvArrays) {
      scanners.add(new KeyValueScanFixture(CellComparator.getInstance(), kvs));
    }
    return scanners;
  }
A fixture that implements and presents a KeyValueScanner. It takes a list of key/values which is
then sorted according to the provided comparator, and then the whole thing pretends to be a store
file scanner.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/KeyValueScanFixture.java