Annotation Type NullSource
-
@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Documented @API(status=EXPERIMENTAL, since="5.4") @ArgumentsSource(org.junit.jupiter.params.provider.NullArgumentsProvider.class) public @interface NullSource@NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedTestmethod.Note that
@NullSourcecannot be used for an argument that has a primitive type.- Since:
- 5.4
- See Also:
ArgumentsSource,ParameterizedTest,EmptySource,NullAndEmptySource