class ThrowingAssertionChecker : AssertionChecker
An AssertionChecker which throws AssertionErrors in case an assertion fails and uses the given reporter for reporting.
ThrowingAssertionChecker(reporter: Reporter)
An AssertionChecker which throws AssertionErrors in case an assertion fails and uses the given reporter for reporting. |
fun check(assertionVerb: Translatable, subject: Any, assertions: List<Assertion>): Unit
Creates an AssertionGroup -- based on the given assertionVerb, subject and assertions -- formats it for reporting using the reporter and checks whether it holds. |