Is there a way to unit test an async method?

前端 未结 0 840
死守一世寂寞
死守一世寂寞 2021-02-12 07:36

I am using Xunit and NMock on .NET platform. I am testing a presentation model where a method is asynchronous. The method creates an async task and executes it so the method ret

相关标签:
回答
  • 消灭零回复
提交回复
热议问题