Validator validator = configuration.addMapping( mapping )
.addValidatedValueHandler( new PropertyValueUnwrapper() )
.buildValidatorFactory()
.getValidator();
OrderLine orderLine = new OrderLine();
Method method = OrderLine.class.getMethod( "setId", Property.class );
Object[] parameterValues = new Object[] { new Property<Long>( 0L ) };
Set<ConstraintViolation<OrderLine>> violations = validator.forExecutables()
.validateParameters( orderLine, method, parameterValues );