Test Transaction DSLInterpreter
This interpreter builds a transaction, and TransactionDSL.verifies that the resolved transaction is correct. Note that transactions corresponding to input states are not verified. Use LedgerDSL.verifies for that.
Properties
Functions
Attaches an attachment containing the named contract to the transaction
Attaches an attachment containing the named contract to the transaction.
Creates a local scoped copy of the transaction.
Adds an Attachment reference to the transaction.
Adds a command to the transaction.
Asserts that verifies throws, with no condition on the exception message.
Asserts that verifies() throws.
Adds an output to the transaction.
Retrieves an output previously defined by TransactionDSLInterpreter.output with a label passed in.
Sets the time-window of the transaction.
Verifies the ledger/transaction, throws if the verification fails.