}
public void test2DArrayType()
{
String[][] array = {{"hello"}, {"world"}};
TypeInfoFactory factory = getTypeInfoFactory();
ArrayInfo info = (ArrayInfo) factory.getTypeInfo(array.getClass());
assertEquals(info.getName(), "[[Ljava.lang.String;", info.getName());
ArrayInfo info0 = (ArrayInfo) info.getComponentType();
assertEquals(info0.getName(), "[Ljava.lang.String;", info0.getName());
TypeInfo info1 = info0.getComponentType();
assertEquals(info1.getName(), "java.lang.String", info1.getName());
}