@Test
void stringOrElseThrow() {

    final ToStringOrThrow<String> toStringOrThrow = OrElseThrowUtil.stringOrElseThrow(d -> d);
    assertEquals("string", toStringOrThrow.apply("string"));
    assertThrows(NullPointerException.class, () -> toStringOrThrow.apply(null));
}