com.r3corda.core.testing / transaction

# transaction

`fun transaction(transactionLabel: String? = null, transactionBuilder: TransactionBuilder = TransactionBuilder(notary = DUMMY_NOTARY), dsl: TransactionDSL<TransactionDSLInterpreter>.() -> EnforceVerifyOrFail): LedgerDSL<TestTransactionDSLInterpreter, TestLedgerDSLInterpreter>`

Creates a ledger with a single transaction, built by the passed in dsl.

See Also

LedgerDSLInterpreter._transaction

`fun TransactionDSLInterpreter.transaction(dsl: TransactionDSL<TransactionDSLInterpreter>.() -> EnforceVerifyOrFail): Unit`
Deprecated: transaction doesn't nest, use tweak