@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @API(status=EXPERIMENTAL, since="5.4") @ArgumentsSource(value=org.junit.jupiter.params.provider.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.
ArgumentsSource
,
ParameterizedTest
,
NullSource
,
NullAndEmptySource
Copyright © 2024. All rights reserved.