@Test(expected = IllegalArgumentException.class)
public void convertMapToArray() {

    Map<String, String> value = Collections.singletonMap("hello", "world");
    SchemaValueConverter.convert(Schema.Type.ARRAY, value);
}