@Test public void testPropagateCancellation_bothPending() {

  CompletableFuture<String> outer = new CompletableFuture<>();
  CompletableFuture<String> inner = new CompletableFuture<>();
  assertThat(Utils.propagateCancellation(outer, inner)).isSameAs(outer);
  assertThat(outer.isCancelled()).isFalse();
  assertThat(inner.isCancelled()).isFalse();
  assertThat(outer.isDone()).isFalse();
  assertThat(inner.isDone()).isFalse();
}