public Verifies
This interface asserts that the DSL at hand is capable of verifying its underlying construct(ledger/transaction).
Modifier and Type | Interface and Description |
---|---|
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 |
---|---|
EnforceVerifyOrFail |
fails()
Asserts that
Verifies.verifies throws, with no condition on the exception message. |
EnforceVerifyOrFail |
fails with(java.lang.String msg) |
EnforceVerifyOrFail |
failsWith(java.lang.String expectedMessage)
Asserts that verifies() throws.
|
EnforceVerifyOrFail |
verifies()
Verifies the ledger/transaction, throws if the verification fails.
|
EnforceVerifyOrFail verifies()
Verifies the ledger/transaction, throws if the verification fails.
EnforceVerifyOrFail failsWith(java.lang.String expectedMessage)
Asserts that verifies() throws.
expectedMessage
- An optional string to be searched for in the raised exception.EnforceVerifyOrFail fails()
Asserts that Verifies.verifies
throws, with no condition on the exception message.
Verifies.verifies
EnforceVerifyOrFail fails with(java.lang.String msg)
Verifies.failsWith