public static <K, V> Map<K, V> mapOf(K key1, V value1) {
        Map<K, V> result = new HashMap<>();
        result.put(key1, value1);
        return result;
    }
@Test
    void testMapOf1() {
        final Map<String, String> map = mapOf("key1", "value1");

        assertThat(map).containsEntry("key1", "value1");
    }