How to Moq class that is initialized in a method that you are testing?

前端 未结 0 1426
执念已碎
执念已碎 2021-01-06 09:05

I have a method that initializes another class and does something. I want to mock that intialized class and also verify its results. Below is an example of what I am trying

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