corda / net.corda.testing.flows / from

from

infix fun <T : Class<out Any>> T.from(session: FlowSession): Pair<FlowSession, T>

Creates a [Pair(session, Class)] from this Class.