@Test
public void testOverridedEnumMapsToBasedEnum() {
mapper = getMapper(new String[] { "enumMappingOverriedEnumToBasedEnum.xml" });
MyBean src = newInstance(MyBean.class);
src.setSrcTypeWithOverride(SrcTypeWithOverride.FOO);
MyBeanPrime dest = mapper.map(src, MyBeanPrime.class);
assertEquals(src.getSrcTypeWithOverride().toString(), dest.getDestType().toString());
}