mapper = getMapper(new String[] { "mapIdWithHint.xml" });
AListContainer aListContainer = new AListContainer();
aListContainer.getAList().add(getA());
BContainer2 bContainer = new BContainer2();
mapper.map(aListContainer, bContainer);
assertNotNull(bContainer);
assertNotNull(bContainer.getBField());
assertEquals(((A) (aListContainer.getAList().get(0))).getSuperAField(), bContainer.getBField()
.getSuperBField());
AListContainer newAListContainer = (AListContainer) mapper
.map(bContainer, AListContainer.class);
assertEquals("failed reverse map", aListContainer, newAListContainer);