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

addAssertion

abstract fun addAssertion(assertion: Assertion): Expect<T> (source)

Overrides SubjectProvider.addAssertion

Adds the given assertion to this container.

Parameters

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

Return
an Expect for the subject of this expectation.