Test Started Node
interface TestStartedNode
Properties
Functions
Link copied to clipboard
Link copied to clipboard
inline fun <P> TestStartedNode.registerCordappFlowFactory(initiatingFlowClass: KClass<out <Error class: unknown class><out <Error class: unknown class>>>, initiatedFlowVersion: Int = 1, noinline flowFactory: (<Error class: unknown class>) -> P): <Error class: unknown class><P>
Link copied to clipboard
fun <T> TestStartedNode.registerCoreFlowFactory(initiatingFlowClass: Class<out <Error class: unknown class><out <Error class: unknown class>>>, initiatedFlowClass: Class<T>, flowFactory: (<Error class: unknown class>) -> T, track: Boolean): <Error class: unknown class><T>
Link copied to clipboard
abstract fun <T> registerInitiatedFlow(initiatedFlowClass: Class<T>, track: Boolean = false): <Error class: unknown class><T>
Use this method to register your initiated flows in your tests. This is automatically done by the node when it starts up for all FlowLogic classes it finds which are annotated with InitiatedBy.
Link copied to clipboard
Attach a MessagingServiceSpy to the InternalMockNetwork.MockNode allowing interception and modification of messages.