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