@Test public void cannotRetryOnInterruptedException() {

  assertThrows(IllegalArgumentException.class, () -> upon(InterruptedException.class, asList()));
  assertThrows(
      IllegalArgumentException.class,
      () -> retryer.upon(InterruptedException.class, e -> false, asList()));
}