ContextMappingPrime cmpA = mapper.map(cm, ContextMappingPrime.class, "caseA");
assertNull(cmpA.getLoanNo());
assertNull(((ContextMappingNestedPrime) cmpA.getContextList().get(0)).getLoanNo());
ContextMappingPrime cmpB = mapper.map(cm, ContextMappingPrime.class, "caseB");
assertEquals("loanNo", cmpB.getLoanNo());
assertEquals("loanNoNested", ((ContextMappingNested) cmpB.getContextList().get(0)).getLoanNo());
ContextMappingNestedPrime cmn2 = newInstance(ContextMappingNestedPrime.class);
cmn2.setLoanNo("loanNoNested");