When executing activities, I believe context.Context
can be omitted as an argument since that’s propagated. However, when mocking activities - it appears that it is required to pass in mock.Anything
. Failure to do so results in a mismatched mock of the registered activities.
It would be nice to not have to pass in mock.Anything
for the context argument, but not sure if the requirement of it was intentional.