@Test
void mapIfPresent() {

    final ToShortNullable<String> toShortNullable = instance.mapIfPresent(i -> (short) 0);
    assertNotNull(toShortNullable);
    assertEquals(0, toShortNullable.applyAsShort("1"));
    assertNull(toShortNullable.apply(null));
}