Class ParameterNameAndArgument
java.lang.Object
org.junit.jupiter.params.support.ParameterNameAndArgument
@API(status=INTERNAL,
since="6.0")
public class ParameterNameAndArgument
extends Object
implements Named<@Nullable Object>
Customized parameter name and its associated argument value.
Although this class implements Named
for technical reasons, it
serves a different purpose than Named.of(String, Object)
and is only
used for internal display name processing.
- Since:
- 6.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParameterNameAndArgument
-
-
Method Details
-
getName
-
getPayload
Get the argument for the parameter.- Specified by:
getPayload
in interfaceNamed<@Nullable Object>
- Returns:
- the payload; may be
null
depending on the use case
-
toString
-