public static void requireNonNulls(Object... objs) {
        for (int i = 0; i < objs.length; i++) {
            int effectivelyFinal = i;
            Objects.requireNonNull(objs[i], () -> "Argument at index %d is null".formatted(effectivelyFinal));
        }
    }
@Test
    void testNonNulls() {
        assertDoesNotThrow(() -> Validation.requireNonNulls("hei", 123L, List.of("hoi")));
        var exception = assertThrows(NullPointerException.class, () -> Validation.requireNonNulls("hei", null, List.of("hoi")));
        assertEquals("Argument at index 1 is null", exception.getMessage());
    }