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

check

abstract fun check(assertionVerb: String, subject: Any, assertions: List<IAssertion>): Unit (source)

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.