private static RegionInfo toRegionInfo(TableName tableName) {
    return RegionInfoBuilder.newBuilder(tableName).setRegionId(1024).build();
  }
Helper class for testing protobuf log.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogTestHelper.java