doc / ch.tutteli.atrium.creating / IAssertionPlant / checkAssertions

checkAssertions

abstract fun checkAssertions(): IAssertionPlant<T>

Checks the so far added IAssertions and reports if one of them fails.

Calling this method more than once should not re-report previously failing assertions. This method will typically use an IAssertionChecker for checking and an IReporter for error reporting.

Exceptions

AssertionError - Reporting a failing assertion might cause that an AssertionError is thrown.

Return
This plant to support a fluent-style API.

See Also

IAssertionChecker

IReporter