@Test
public void testValidate() {

  BatchExecutor<List<Integer>, Integer> executor =
      new BatchExecutor<List<Integer>, Integer>(integerDescriptor, new PartitionKey(0));
  List<Integer> request = new ArrayList<Integer>();
  request.add(2);
  Batch<List<Integer>, Integer> batchingContextOk =
      new Batch<>(integerDescriptor, request, null, null);
  executor.validateBatch(batchingContextOk);
}