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

IOneMessageAssertion

interface IOneMessageAssertion : IAssertion

The base interface for IAssertions which have one Message.

It provides a default implementation for IAssertion.holds which delegates to Message.holds.

Properties

message

abstract val message: Message

The message of this assertion.

Functions

holds

open fun holds(): Boolean

Holds if its message holds.

Inheritors

OneMessageAssertion

class OneMessageAssertion : IOneMessageAssertion

A default implementation for IOneMessageAssertion.