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

check

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.

Parameters

assertionVerb - I used as AssertionGroup.name. subject - Is used as AssertionGroup.subject. assertions - Is used as AssertionGroup.assertions.

Exceptions

AssertionError - In case the created AssertionGroup does not hold.