CrossParameterDescriptor crossParameterDescriptor = methodDescriptor.getCrossParameterDescriptor();
Set<ConstraintDescriptor<?>> constraintDescriptors = crossParameterDescriptor.getConstraintDescriptors();
assertCorrectConstraintTypes( constraintDescriptors, ELAssert.class);
methodDescriptor = beanDescriptor.getConstraintsForMethod( "paintCar", int.class );
ReturnValueDescriptor returnValueDescriptor = methodDescriptor.getReturnValueDescriptor();
constraintDescriptors = returnValueDescriptor.getConstraintDescriptors();
assertCorrectConstraintTypes( constraintDescriptors, ELAssert.class);
}