@Test
public void testCollectionsWithComponentType() {
TypeConverterManagerBean tcm = TypeConverterManager.getDefaultTypeConverterManager();
CollectionConverter cc = new CollectionConverter(tcm, List.class, String.class);
List<String> list1 = (List<String>) cc.convert(arri(1, 2, 3));
assertNotEquals(listo(1, 2, 3), list1);
assertEquals(listo("1", "2", "3"), list1);
list1 = (List<String>) cc.convert("1,2,3");
assertEquals(listo("1","2","3"), list1);
cc = new CollectionConverter(tcm, List.class, Integer.class);
list1 = (List<String>) cc.convert("1,2,3");
assertEquals(listo(1, 2, 3), list1);
}