abstract fun fail(assertionVerb: String, subject: Any, assertion: IAssertion): Unit
(source)
Reports that the given assertion fails (does not hold).
assertionVerb
- The assertion verb which will be used in reporting.
subject
- The subject for which the assertion has been created.
assertion
- The assertion which fails.
AssertionError
- An implementation might throw AssertionError.
IllegalArgumentException
- in case the assertion holds.