@Test
public void testMerge() {

  LabeledIntList request1 = new LabeledIntList("lable", 1);
  Batch<LabeledIntList, List<Integer>> batch1 = createBatch(request1);
  LabeledIntList request2 = new LabeledIntList("lable", 2);
  Batch<LabeledIntList, List<Integer>> batch2 = createBatch(request2);
  batch1.merge(batch2);
  Truth.assertThat(batch1.getByteCount()).isEqualTo(3);
}