Module org.junit.jupiter.params
Annotation Type NullAndEmptySource
-
@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Documented @API(status=STABLE, since="5.7") @NullSource @EmptySource public @interface NullAndEmptySource
@NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@EmptySource.Annotating a
@ParameterizedTestmethod with@NullAndEmptySourceis equivalent to annotating the method with@NullSourceand@EmptySource.- Since:
- 5.4
- See Also:
ParameterizedTest,NullSource,EmptySource