public static void putIfValNoNull(Map target, Object key, Object value) {
        Objects.requireNonNull(key, "key");
        if (value != null) {
            target.put(key, value);
        }
    }
@Test
    void testPutIfValNoNull() {
        Map<Object, Object> map = new HashMap<>();
        MapUtil.putIfValNoNull(map, "key-1", null);
        assertTrue(map.isEmpty());
        MapUtil.putIfValNoNull(map, "key-1", "null");
        assertTrue(map.containsKey("key-1"));
    }