@Test
  public void testRegionArchiveDir() {
    Path regionDir = new Path("region");
    assertNotNull(HFileArchiveUtil.getRegionArchiveDir(rootDir,
      TableName.valueOf(name.getMethodName()), regionDir));
  }
Test that the utility works as expected
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHFileArchiveUtil.java