BatchFn testFn = new BatchFn(mutationSize * 3, 1000, null); testFn.processElement(mockProcessContext);
"Create Batches", ParDo.of( new BatchFn( spec.getBatchSizeBytes(), spec.getMaxNumMutations(), schemaView)) .withSideInputs(schemaView));
BatchFn testFn = new BatchFn(10000000, 3 * CELLS_PER_KEY, null); testFn.processElement(mockProcessContext);