doc / ch.tutteli.atrium.assertions / Message

Message

data class Message

Represents a message of an IAssertion.

It consists of:

description : representation => holds

Constructors

<init>

Message(description: ITranslatable, representation: Any, holds: Boolean)

Represents a message of an IAssertion which consists of:

Properties

description

val description: ITranslatable

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".