@Test
public void gatherIOShouldPropagateTimeoutAsIOException() throws IOException {

  var futures = List.of(completedFuture("foo"), future);
  exception.expect(IOException.class);
  exception.expectCause(instanceOf(TimeoutException.class));
  FutureUtil.gatherIO(futures, TIMED_OUT);
}