@API(value=Experimental) public interface ArgumentConverter
ArgumentConverter
is an abstraction that allows an input object to
be converted to an instance of a different class.
Such an ArgumentConverter
is applied to the method parameter
of a @ParameterizedTest
method with the help of a
@ConvertWith
annotation.
ParameterizedTest
,
ConvertWith
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object input,
ParameterContext context) |
Object convert(Object input, ParameterContext context) throws ArgumentConversionException
ArgumentConversionException