public static class Verifies.DefaultImpls
This interface asserts that the DSL at hand is capable of verifying its underlying construct(ledger/transaction).
@NotNull public static EnforceVerifyOrFail failsWith(Verifies $this, @Nullable java.lang.String expectedMessage)
Asserts that verifies() throws.
$this
- An optional string to be searched for in the raised exception.expectedMessage
- An optional string to be searched for in the raised exception.@NotNull public static EnforceVerifyOrFail fails(Verifies $this)
Asserts that verifies
throws, with no condition on the exception message.
verifies
@NotNull public static EnforceVerifyOrFail fails with(Verifies $this, @NotNull java.lang.String msg)
failsWith