@Test
  public void testGetStoreArchivePath() throws IOException {
    byte[] family = Bytes.toBytes("Family");
    Path tabledir = CommonFSUtils.getTableDir(rootDir, TableName.valueOf(name.getMethodName()));
    RegionInfo region =
      RegionInfoBuilder.newBuilder(TableName.valueOf(name.getMethodName())).build();
    Configuration conf = new Configuration();
    CommonFSUtils.setRootDir(conf, new Path("root"));
    assertNotNull(HFileArchiveUtil.getStoreArchivePath(conf, region, tabledir, family));
  }
Test that the utility works as expected
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHFileArchiveUtil.java