private int countMobFiles() throws IOException {
    Path mobDirPath = MobUtils.getMobFamilyPath(conf, tableDescriptor.getTableName(),
      familyDescriptor.getNameAsString());
    if (fs.exists(mobDirPath)) {
      FileStatus[] files = UTIL.getTestFileSystem().listStatus(mobDirPath);
      return files.length;
    }
    return 0;
  }
This test will first generate store files, then bulk load them and trigger the compaction. When
compaction, the cell value will be larger than the threshold.
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobStoreCompaction.java