@Test
void mapIfPresent() {

    final ToIntNullable<String> toIntNullable = instance.mapIfPresent(i -> 0);
    assertNotNull(toIntNullable);
    assertEquals(0, toIntNullable.applyAsInt("1"));
    assertNull(toIntNullable.apply(null));
}