doc / ch.tutteli.atrium.assertions / BasicExplanatoryAssertion

BasicExplanatoryAssertion

class BasicExplanatoryAssertion : ExplanatoryAssertion (source)
Deprecated: Use ExplanatoryAssertion, do not rely on this specific type, will be made internal with 1.0.0

A default implementation for ExplanatoryAssertion -- an assertion which only wants to give an explanation.

Constructors

<init>

BasicExplanatoryAssertion(explanation: Any?)

A default implementation for ExplanatoryAssertion -- an assertion which only wants to give an explanation.

Properties

explanation

val explanation: Any?

The object used to explain something.

Functions

toString

fun toString(): String

Inherited Functions

holds

open fun holds(): Boolean

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