fun Assert<Throwable>.hasCause(cause: Throwable): Unit
Platform and version requirements: Common
Asserts the throwable is similar to the expected cause, checking the type and message.
See Also
hasNoCause