@Test
public void testIsEmpty() {

  Storage storage = new Storage(HTTP_TRANSPORT, JSON_FACTORY, httpRequestInitializer);
  BatchHelper batchHelper =
      batchFactory.newBatchHelper(httpRequestInitializer, storage, /* maxRequestsPerBatch= */ 2);
  assertThat(batchHelper.isEmpty()).isTrue();
}