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