@DoNotImplement interface Verifies
This interface asserts that the DSL at hand is capable of verifying its underlying construct(ledger/transaction).
open fun fails(): EnforceVerifyOrFail
Asserts that verifies throws, with no condition on the exception message. |
|
open infix fun fails with(msg: String): EnforceVerifyOrFail |
|
open fun failsWith(expectedMessage: String?): EnforceVerifyOrFail
Asserts that verifies() throws. |
|
abstract fun verifies(): EnforceVerifyOrFail
Verifies the ledger/transaction, throws if the verification fails. |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |
interface LedgerDSLInterpreter<out T : TransactionDSLInterpreter> : Verifies, OutputStateLookup
This interface defines the bare bone functionality that a Ledger DSL interpreter should implement. |
|
interface TransactionDSLInterpreter : Verifies, OutputStateLookup
This interface defines the bare bone functionality that a Transaction DSL interpreter should implement. |