public static void validateMappingRequest(Object srcObj, Class<?> destClass) {
        validateMappingRequest(srcObj);
        if (destClass == null) {
            MappingUtils.throwMappingException("Destination class must not be null");
        }
    }
Internal class used to perform various validations. Validates mapping requests, field mappings, URL's, etc. Only
intended for internal use.
core/src/main/java/com/github/dozermapper/core/util/MappingValidator.java