Is there a way to use Assert or Moq.Verify on a Mocked Logger?

后端 未结 0 2046
庸人自扰
庸人自扰 2021-02-18 21:55

I\'m unit testing my OnAuthorization class and i need to test the error cases. Here\'s an example:

Mock log = new Mock();

public ov         


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