Closed yinsidij closed 3 weeks ago
To test the order of mocks you can use OnActivity(..).NotBefore()
This is a feature in testify
https://github.com/stretchr/testify/issues/741
stretchr/testify#741
Thank you for the quick response @Quinn-With-Two-Ns . it works.
What was changed
Why?
I would like to test the order of activity execution in the workflow unit tests. Looks like it’s lack of the feature. Exposing the Calls of mock would be one solution.
Checklist
Closes
How was this tested:
Any docs updates needed?