class OptionsChooserImpl : ExpectBuilder.OptionsChooser
OptionsChooserImpl() |
fun build(): ExpectOptions |
|
fun withNullRepresentation(representation: Any): Unit
Use the given representation as custom representation for |
|
fun withReporter(reporter: Reporter): Unit
Uses the given reporter instead of the default reporter. |
|
fun withRepresentation(representation: Any): Unit
Uses the given representation as representation of the subject instead of using the subject as such to represent itself. |
|
fun withVerb(verb: Translatable): Unit
Uses the given verb as assertion verb instead of the previously defined verb. |
open fun withTextRepresentation(representation: String): Unit
Wraps the given representation into a RawString and uses it as representation of the subject instead of the so far defined representation (which defaults to the subject as such). |
|
open fun withVerb(verb: String): Unit
Wraps the given verb into an Untranslatable and passes it to the overload which expects a Translatable -- this is then used as custom assertion verb instead of the previously defined verb. |