{{CascadingValueExtactorResolutionAlgorithmTest#parallelValueExtractorDefinitionsCausesException()}} expects an exception, but a correct implementation of the spec will not raise an exception in this case actually.
The exception is expected based on the assumption that two value extractors are type-compliant and container-element-compliant with the the first container element of {{IWrapper212<@Valid Bean21, @Valid Bean22> wrapper}}. While two of the value extractors registered in the test are type-compliant ({{IWrapper211ValueExtractor0}} and {{IWrapper212ValueExtractor0}}), only one of them is container-element-compliant ({{IWrapper212ValueExtractor0}}).
The fix is to change the type of {{wrapper}} into {{IWrapper21}}, in which case indeed the two extractors both are type-compliant and container-element-compliant and an exception must be raised. |
|