protected void assertNumKeys(Result result, int n) throws Exception {
    assertEquals("Expected " + n + " keys but got " + result.size(), result.size(), n);
  }
Split table into multiple regions.
@param t Table to split.
@return Map of regions to servers.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/FromClientSideBase.java