标签:distrib end 参考 依赖 info lazy csdn 依赖注入 code
用到了mock【安装Moq】
参考:
https://blog.csdn.net/hailang2ll/article/details/103105356?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight
nunit+aspnetcore,如何对有依赖注入的服务进行单元测试
原文地址:https://www.cnblogs.com/lishidefengchen/p/13233376.html