@Test
public void propagateCancellationWithoutInterrupt()
{

    // Test interrupt override
    ExtendedSettableFuture<Object> fromFuture = ExtendedSettableFuture.create();
    ExtendedSettableFuture<Object> toFuture = ExtendedSettableFuture.create();
    propagateCancellation(fromFuture, toFuture, false);
    fromFuture.cancel(true);
    assertTrue(toFuture.isCancelled());
    assertFalse(toFuture.checkWasInterrupted());
    fromFuture = ExtendedSettableFuture.create();
    toFuture = ExtendedSettableFuture.create();
    propagateCancellation(fromFuture, toFuture, false);
    fromFuture.cancel(false);
    assertTrue(toFuture.isCancelled());
    assertFalse(toFuture.checkWasInterrupted());
}