How to setup both async and sync methods in the same mock
I am fixing an old test, that extensively uses mocks, and I encountered challenges setting them up. I have a peace of code that looks like this:
I am fixing an old test, that extensively uses mocks, and I encountered challenges setting them up. I have a peace of code that looks like this: