Moq setup for interface with function argument

后端 未结 0 1628
长情又很酷
长情又很酷 2021-01-18 18:16

I want to write an UnitTest with Moq 4.14.7. The method to be tested is as follows:

public IFoo Get(Guid id)
{
    Func getData = () => _reposi         


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