open fun failsWith(expectedMessage: String?): EnforceVerifyOrFail
Asserts that verifies() throws.
expectedMessage - An optional string to be searched for in the raised exception.
expectedMessage