abstract fun check(assertionVerb: Translatable, representationProvider: () -> Any, assertions: List<Assertion>): Unit
(source)
Checks given assertions and reports if one of them fails (does not hold).
assertionVerb
- The assertion verb which will be used in error reporting.
representationProvider
- Provides the representation of the subject for which the assertions
have been created.
assertions
- The assertions which are checked.
AssertionError
- An implementation is allowed to throw AssertionError if an assertion fails.