private void preSplitTableAndVerify(List<byte[]> expectedBounds, String splitClass,
    TableName tableName) throws Exception {
    final int numRegions = expectedBounds.size() - 1;
    final Configuration conf = UTIL.getConfiguration();
    conf.setInt("split.count", numRegions);
    SplitAlgorithm splitAlgo = RegionSplitter.newSplitAlgoInstance(conf, splitClass);
    RegionSplitter.createPresplitTable(tableName, splitAlgo, new String[] { CF_NAME }, conf);
    verifyBounds(expectedBounds, tableName);
  }
Creates a pre-split table with expectedBounds.size()+1 regions, then verifies that the region
boundaries are the same as the expected region boundaries in expectedBounds.
@throws Various junit assertions
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java