T
- the type of the object to formatpublic interface Formatter<T>
Instances of this formatter can be globally configured with the JGivenConfiguration
by providing concrete implementation of the AbstractJGivenConfiguration
class.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(T argumentToFormat,
java.lang.annotation.Annotation... annotations)
Formats a step method argument.
|
java.lang.String format(T argumentToFormat, java.lang.annotation.Annotation... annotations)
argumentToFormat
- the argument object to formatannotations
- list of annotations that the method parameter is annotated with