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

IAssertionCheckerDelegateFail

interface IAssertionCheckerDelegateFail : IAssertionChecker

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: ITranslatable, subject: Any, assertion: IAssertion): Unit

Delegates to check if the assertion fails.

Inherited Functions

check

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

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