docs
4.12
customSourceSet
docs
/
net.corda.testing.dsl
/
Verifies
/
failsWith
fails
With
open
fun
failsWith
(
expectedMessage
:
String
?
)
:
EnforceVerifyOrFail
Asserts that verifies() throws.
Parameters
expected
Message
An optional string to be searched for in the raised exception.