public static HRegion createRegionAndWAL(final RegionInfo info, final Path rootDir,
    final Configuration conf, final TableDescriptor htd, BlockCache blockCache) throws IOException {
    HRegion region = createRegionAndWAL(info, rootDir, conf, htd, false);
    region.setBlockCache(blockCache);
    region.initialize();
    return region;
  }
Create a region with it's own WAL. Be sure to call
{@link HBaseTestingUtility#closeRegionAndWAL(HRegion)} to clean up all resources.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java