assertFailed

abstract fun assertFailed(message: String, expected: Any? = null, actual: Any? = null): Throwable

Creates an assertion failed exception to throw.