corda / net.corda.testing.flows / registerCoreFlowFactory

registerCoreFlowFactory

fun <T : FlowLogic<*>> TestStartedNode.registerCoreFlowFactory(initiatingFlowClass: Class<out FlowLogic<*>>, initiatedFlowClass: Class<T>, flowFactory: (FlowSession) -> T, track: Boolean): Observable<T>