C# Moq - Is there a way to mock only the base method and not its overridden version?

后端 未结 0 1138
滥情空心
滥情空心 2020-12-15 05:51

I know I can Mock CreateAsync method in this example:

public abstract class SomeRepository
{
    public virtual Task CreateAsyn         


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