fun fail(assertion: IAssertion): Unit
(source)
Uses assertionChecker to report a failing assertion (see IAssertionChecker.fail).
In case subject is null, then RawString.NULL will be used as representation.
assertion
- The failing assertion.
AssertionError
- Typically throws an AssertionError or another Exception.