@Test
void testRequireNonNullElements_GenericType_String() {

    assertThrows(NullPointerException.class, () -> {
        final String msg = "OlleOchTryggve";
        try {
            final String[] result = NullUtil.requireNonNullElements(ARRAY_WITH_NULL, msg);
        } catch (NullPointerException ex) {
            assertTrue(ex.getMessage().contains(msg));
            throw ex;
        }
    });
}