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

    List<String> value = Collections.singletonList("hello");
    SchemaValueConverter.convert(Schema.Type.NESTED, value);
}