atrium-impl-robstoll / ch.tutteli.atrium.checking / IAssertionCheckerDelegateFail

IAssertionCheckerDelegateFail

interface IAssertionCheckerDelegateFail : IAssertionChecker (source)

Provides a default-implementation for IAssertionChecker.fail which first checks that the given IAssertion fails and then delegates to IAssertionChecker.check.

Functions

fail open fun fail(assertionVerb: String, subject: Any, assertion: IAssertion): Unit

Delegates to check if the assertion fails.

Inherited Functions

check abstract fun check(assertionVerb: String, subject: Any, assertions: List<IAssertion>): Unit

Checks given assertions and reports if one of them fails (does not hold).