@Test
    public void shouldParseStringMapWithMultipleValueTypes() {
        Map<Object, Object> expected = new HashMap<>();
        expected.put((short) 1, (byte) 1);
        expected.put((short) 2, (byte) 1);
        expected.put((short) 300, (short) 300);
        expected.put((short) 4, "four");
        assertParseStringMapWithNoSchema(expected, "{1:1, 2:1, 300:300, 4:\"four\"}");
        assertParseStringMapWithNoSchema(expected, "{2:1, 300:300, 4:\"four\", 1:1}");
        assertParseStringMapWithNoSchema(expected, "{300:300, 4:\"four\", 1:1, 2:1}");
        assertParseStringMapWithNoSchema(expected, "{4:\"four\", 1:1, 2:1, 300:300}");
    }
Maps with a consistent key type may still not have a common type for the values
This behavior should be independent of the order that the pairs appear in the string
connect/api/src/test/java/org/apache/kafka/connect/data/ValuesTest.java