assertEquals(Integer.valueOf("6453"), ((TestObjectPrime) dest.getHintList().get(0)).getTwoPrime());
}
@Test
public void testDeepMappingWithIndexOnDestField() {
DestDeepObj src = newInstance(DestDeepObj.class);
src.setDest2(new Integer(857557));
src.setDest5("789777");
SrcDeepObj dest = mapper.map(src, SrcDeepObj.class);
assertEquals("857557", dest.getSrcNestedObj().getSrcNestedObj2().getSimpleObjects()[0].getField1());
TestObject destTestObj = (TestObject) dest.getSomeList().get(1);
assertEquals("789777", ((AnotherTestObject) destTestObj.getEqualNamedList().get(0)).getField3());