@SuppressWarnings("unused")
    @Test
    public void testShortMapsToEnumOutOfOrdinalRange() {
        LOG.error("WithExceptionsLoggedTest; 'MappingException: Cannot convert [3] to enum of type class com.github.dozermapper.core.vo.enumtest.SrcTypeWithOverride'");

        testShortMapsToEnumOutOfOrdinalRangeEE.expect(MappingException.class);
        testShortMapsToEnumOutOfOrdinalRangeEE.expectMessage("Cannot convert [3] to enum of type class com.github.dozermapper.core.vo.enumtest.SrcTypeWithOverride");

        mapper = getMapper("mappings/enumMapping.xml");

        MyBeanPrimeShort src = new MyBeanPrimeShort();
        src.setFirst((short)0);
        src.setSecond((short)3);

        MyBean dest = mapper.map(src, MyBean.class);
    }
Test on a mapping from short types to enum.
core/src/test/java/com/github/dozermapper/core/functional_tests/EnumMapping_WithExceptionsLoggedTest.java