doc / ch.tutteli.atrium.assertions / IMultiMessageAssertion

IMultiMessageAssertion

interface IMultiMessageAssertion : IAssertion

The base interface for IAssertions which have multiple Messages.

It provides a default implementation for IAssertion.holds which returns true if all its messages hold.

Properties

messages

abstract val messages: List<Message>

The messages of this assertion.

Functions

holds

open fun holds(): <ERROR CLASS>

Holds if all its messages hold.