doc / ch.tutteli.atrium.assertions / ExplanatoryAssertion

ExplanatoryAssertion

class ExplanatoryAssertion : IExplanatoryAssertion

Represents an assertion which only wants to give an explanation

Constructors

<init>

ExplanatoryAssertion(explanation: Any?)

Represents an assertion which only wants to give an explanation

Properties

explanation

val explanation: Any?

The object used to explain something.

Inherited Functions

holds

open fun holds(): Boolean

Always true since it should not matter whether an IExplanatoryAssertion holds or not.