atrium-core-impl-robstoll-lib / ch.tutteli.atrium.checking / DelegatingAssertionChecker / check

check

fun check(assertionVerb: Translatable, subject: Any, assertions: List<Assertion>): Unit

Adds the given assertions (wrapped into an InvisibleAssertionGroup) to the original plant of the subject (the subjectPlant).

Parameters

assertionVerb - Is ignored. subject - Is ignored. assertions - The assertions which shall be added to the original plant of the subject (the subjectPlant).

Exceptions

AssertionError - Might throw an AssertionError in case one of the given assertions does not hold.