public void testIntegerToString() throws Exception {
Mapper mapper = getMapper(new String[] { "fieldAttributeMapping.xml" });
TestObject to = newInstance(TestObject.class);
Integer[] array = new Integer[] { new Integer(1), new Integer(2) };
to.setArrayForLists(array);
TestObjectPrime top = mapper.map(to, TestObjectPrime.class);
assertEquals("1", top.getListForArray().get(0));
}
@Test
public void testMapNull_MappingLevel() throws Exception {