public HRegion createLocalHRegion(TableName tableName, byte[] startKey, byte[] stopKey,
    Configuration conf, boolean isReadOnly, Durability durability, WAL wal, byte[]... families)
    throws IOException {
    return createLocalHRegionWithInMemoryFlags(tableName, startKey, stopKey, conf, isReadOnly,
      durability, wal, null, families);
  }
Return a region on which you must call {@link HBaseTestingUtility#closeRegionAndWAL(HRegion)}
when done.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java