setExpectTransport

fun setExpectTransport(expectTransport: Boolean, connectionMethod: MdocConnectionMethod? = null)

Sets whether a setTransport is expected to be called.

Parameters

expectTransport

true if it's expected that setTransport will be called, false if not.

connectionMethod

optional expected MdocConnectionMethod for the secondary transport.