com.r3corda.core.testing / TestTransactionDSLInterpreter / attachment

attachment

fun attachment(attachmentId: SecureHash): Unit
Overrides TransactionDSLInterpreter.attachment

Adds an Attachment reference to the transaction.

Parameters

attachmentId - The hash of the attachment, possibly returned by LedgerDSLInterpreter.attachment.