public static void main(String[] args) throws IOException {
    MemStore ms = new DefaultMemStore();

    long n1 = System.nanoTime();
    addRows(25000, ms);
    System.out.println("Took for insert: " + (System.nanoTime() - n1) / 1000);

    System.out.println("foo");

    for (int i = 0; i < 50; i++)
      doScan(ms, i);
  }
Adds {@link #ROW_COUNT} rows and {@link #QUALIFIER_COUNT}
@param hmc Instance to add rows to.
@return How many rows we added.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultMemStore.java