* Test on a mapping from short types to enum.
*/
@Test
public void testShortMapsToEnum() {
mapper = getMapper(new String[] { "enumMapping.xml" });
MyBeanPrimeShort src = new MyBeanPrimeShort();
src.setFirst((short) 0);
src.setSecond((short) 1);
MyBean dest = mapper.map(src, MyBean.class);
assertEquals(SrcType.FOO, dest.getSrcType());
assertEquals(SrcTypeWithOverride.BAR, dest.getSrcTypeWithOverride());
}