@Test public void ifPresent_optionalIntIsEmpty() {

  ifPresent(OptionalInt.empty(), consumer::accept)
      .orElse(otherwise::run);
  verify(consumer, never()).accept(any());
  verify(otherwise).run();
}