@Test
public void convertListToArray() throws ParserException {

    List<String> value = Collections.singletonList("hello");
    Object converted = SchemaValueConverter.convert(Schema.Type.ARRAY, value);
    Assert.assertTrue(Schema.Type.ARRAY.valueOfSameType(converted));
    Assert.assertEquals(value, converted);
}