|
Description:
|
As per the API documentation an {{IllegalArgumentException}} is to be thrown in case {{null}} is passed to {{ExecutableValidator#validateParameters()}} for the _parameterValues_ parameter, but the RI accepts that and returns an empty set of violations.
Also an {{IllegalArgumentException}} (instead of a {{NullPointerException}} as of today) needs to be thrown when passing {{null}} as single validation group ({{(Class<?>)null}}).
Also an {{IllegalArgumentException}} needs to be thrown when passing {{null}} to {{ExecutableValidator#validateConstructorReturnValue()}} for the _createdObject_ parameter.
See {{ValidateParametersTest}} etc.
|