corda / net.corda.testing.dsl / Verifies

Verifies

@DoNotImplement interface Verifies

This interface asserts that the DSL at hand is capable of verifying its underlying construct(ledger/transaction).

Functions

fails

Asserts that verifies throws, with no condition on the exception message.

open fun fails(): EnforceVerifyOrFail

fails with

open infix fun fails with(msg: String): EnforceVerifyOrFail

failsWith

Asserts that verifies() throws.

open fun failsWith(expectedMessage: String?): EnforceVerifyOrFail

verifies

Verifies the ledger/transaction, throws if the verification fails.

abstract fun verifies(): EnforceVerifyOrFail

Inheritors

LedgerDSLInterpreter

This interface defines the bare bone functionality that a Ledger DSL interpreter should implement.

interface LedgerDSLInterpreter<out T : TransactionDSLInterpreter> : Verifies, OutputStateLookup

TransactionDSLInterpreter

This interface defines the bare bone functionality that a Transaction DSL interpreter should implement.

interface TransactionDSLInterpreter : Verifies, OutputStateLookup