doc / ch.tutteli.atrium.creating / AssertionHolder / addAssertion

addAssertion

abstract fun addAssertion(assertion: Assertion): AssertionHolder (source)

Adds the given assertion to this holder.

Parameters

assertion - The assertion which will be added to this holder.

Exceptions

AssertionError - Might throw an AssertionError in case the Assertion does not hold.

Return
This holder to support a fluent API.