@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @API(status=EXPERIMENTAL, since="5.4") @ArgumentsSource(value=EmptyArgumentsProvider.class) public @interface EmptySource
@EmptySource
is an ArgumentsSource
which provides a single
empty argument to the annotated @ParameterizedTest
method.
This argument source will only provide an empty argument for the following method parameter types. Subtypes of the supported types are not supported.
String
List
Set
Map
int[]
, char[][]
, etc.String[]
, Integer[][]
, etc.ArgumentsSource
,
ParameterizedTest
,
NullSource
,
NullAndEmptySource