doc / ch.tutteli.atrium.checking / IAssertionChecker

IAssertionChecker

interface IAssertionChecker

Checks given IAssertions and reports if one of them fails.

Functions

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).

fail

abstract fun fail(assertionVerb: ITranslatable, subject: Any, assertion: IAssertion): Unit

Reports that the given assertion fails (does not hold).