@EmptySource is an ArgumentsSource which provides a single
empty argument to the annotated @ParameterizedClass
or @ParameterizedTest.
This argument source will only provide an empty argument for the following parameter types.
java.lang.String java.util.Collection and concrete subtypes with a public no-arg constructorjava.util.List java.util.Set java.util.SortedSet java.util.NavigableSet java.util.Map and concrete subtypes with a public no-arg constructorjava.util.SortedMap java.util.NavigableMap int[], char[][], etc.String[], Integer[][], etc.This annotation is inherited to subclasses.
org.junit.jupiter.params.provider.ArgumentsSource , org.junit.jupiter.params.ParameterizedClass , org.junit.jupiter.params.ParameterizedTest , NullSource, NullAndEmptySource