private void writeSomeNewData() throws Exception {
    writeTestDataBatch(tableName, numBatchesWritten);
    ++numBatchesWritten;
  }
A zero-based index of the current batch of test data being written
hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java