### Question:
CsvConverterFactory implements TypeConverterFactory<String, String[]> { @Override public TypeConverter<String, String[]> createTypeConverter() { return value -> { final String[] values = value.split(","); for (int i = 0; i < values.length; i++) { values[i] = values[i].trim(); } return values; }; }  @Override TypeConverter<String, String[]> createTypeConverter(); @Override TypeConverterDescriptor<Class<String>, Class<String[]>> getTypeConverterDescriptor();  }### Answer:
@Test public void test() { CsvConverterFactory csvConverterFactory = new CsvConverterFactory(); String[] values; values = csvConverterFactory.createTypeConverter().convert("a,b,c"); assertEquals("[a, b, c]", Arrays.asList(values).toString()); values = csvConverterFactory.createTypeConverter().convert("\na\n,\nb\n,\nc\n"); assertEquals("[a, b, c]", Arrays.asList(values).toString()); }