atrium-impl-common / ch.tutteli.atrium.assertions / OneMessageAssertion

OneMessageAssertion

class OneMessageAssertion : IOneMessageAssertion (source)

A default implementation for IOneMessageAssertion.

Constructors

<init> OneMessageAssertion(description: String, representation: Any, holds: Boolean)
OneMessageAssertion(description: String, representation: Any, check: () -> Boolean)

Properties

message val message: Message

The message of this assertion.

Functions

toString fun toString(): String

Delegates to message's Message.toString.

Inherited Functions

holds open fun holds(): Boolean

Holds if its message holds.