doc / ch.tutteli.atrium.assertions / Message

Message

data class Message (source)

Represents a message of an IAssertion.

It consists of:

description : representation => holds

Constructors

<init> Message(description: String, representation: Any, holds: Boolean)

Represents a message of an IAssertion which consists of:

Properties

description val description: String

Quasi the left hand side of the whole message, e.g., it starts with.

holds val holds: Boolean

true if the assertion holds, false otherwise.

representation val representation: Any

The representation of the expected value, e.g., "hello world".