systemMessageContains
Specifies that the system/developer message must contain the provided string.
Parameters
substring
The substring that the system message should contain.
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.