hasCause

Asserts the throwable is similar to the expected cause, checking the type and message.

See also