@Test
public void testInvokeAllSubmitAllTasks() throws Exception {

  List<Callable<Void>> tasks = ImmutableList.of(() -> null, () -> null);
  List<Future<Void>> futures = lazyExecutorService.invokeAll(tasks);
  assertThat(futures).hasSize(2);
}