on

abstract fun <T> on(id: SubscriptionId<T>, subscribe: FakeSubscriptionSubscribe<T>)

Mocks the subscription process corresponding to SubscriptionId.