@Test
public void testContextMappingWithNestedContext() throws Exception {
Mapper mapper = getMapper(new String[] { "contextMapping.xml" });
ContextMappingNested cmn = newInstance(ContextMappingNested.class);
cmn.setLoanNo("loanNoNested");
List<ContextMappingNested> list = newInstance(ArrayList.class);
list.add(cmn);
ContextMapping cm = newInstance(ContextMapping.class);
cm.setLoanNo("loanNo");
cm.setContextList(list);