systemMessageContains

abstract fun systemMessageContains(substring: String)(source)

Specifies that the system/developer message must contain the provided string.

Parameters

substring

The substring that the system message should contain.


inline fun systemMessageContains(builderAction: StringBuilder.() -> Unit)(source)

Specifies that the system/developer message must contain a dynamically constructed string. The string can be built using a lambda with a StringBuilder receiver.

Parameters

builderAction

A lambda with a receiver of type StringBuilder, used to build the desired content that the system message should contain.