private void rollingSplitAndVerify(TableName tableName, String splitClass,
    List<byte[]> expectedBounds) throws Exception {
    final Configuration conf = UTIL.getConfiguration();

    // Set this larger than the number of splits so RegionSplitter won't block
    conf.setInt("split.outstanding", 5);
    SplitAlgorithm splitAlgo = RegionSplitter.newSplitAlgoInstance(conf, splitClass);
    RegionSplitter.rollingSplit(tableName, splitAlgo, 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