Mock: SetReturnsDefault for async methods always return null

前端 未结 0 1938
北荒
北荒 2021-01-13 20:04

I want to mock a service to always return a default object. I tried this but it still always return null:

var service =         


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