doc / ch.tutteli.atrium.checking / AssertionChecker / check

check

abstract fun check(assertionVerb: Translatable, subject: Any, assertions: List<Assertion>): Unit

Checks given assertions and reports if one of them fails (does not hold).

Parameters

assertionVerb - The assertion verb which will be used in error reporting. subject - The subject for which the assertions have been created. assertions - The assertions which are checked.

Exceptions

AssertionError - An implementation is allowed to throw AssertionError if an assertion fails.