open fun answerWith(default: CharSequence? = null, messageProvider: () -> Any?): Unit
(source)
Answers with the specified parameters.
default
- used if messageProvider returns null
messageProvider
- provides the answer - a message or a list of messages