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

check

abstract fun check(assertionVerb: ITranslatable, subject: Any, assertions: List<IAssertion>): 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.