message property

Expression message

Return the message to report if the assertion fails, or null if no message was supplied.

Implementation

Expression get message;
void message= (Expression expression)

Set the message to report if the assertion fails to the given expression.

Implementation

set message(Expression expression);