@Test
    public void testEnumMapsToNonexistEnumValue() {
        LOG.error("WithExceptionsLoggedTest; 'IllegalArgumentException: No enum constant com.github.dozermapper.core.vo.enumtest.DestType.BAR'");

        testEnumMapsToNonexistEnumValueEE.expectMessage("Cannot convert [BAR] to enum of type class com.github.dozermapper.core.vo.enumtest.DestType");
        testEnumMapsToNonexistEnumValueEE.expect(MappingException.class);

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

        MyBean src = newInstance(MyBean.class);
        src.setSrcType(SrcType.BAR);

        mapper.map(src, MyBeanPrime.class);
    }
Test on if mapping to nonexist enum value would throw exception.
core/src/test/java/com/github/dozermapper/core/functional_tests/EnumMapping_WithExceptionsLoggedTest.java