on
Mocks the subscription process corresponding to SubscriptionId.
Parameters
id
The subscription ID that identifies this subscription
subscribe
A function that mocks the subscription behavior
Mocks the subscription process corresponding to the given test tag.
Parameters
testTag
The test tag that identifies this subscription
subscribe
A function that mocks the subscription behavior