Mocking non-virtual methods in C#(在 C# 中模拟非虚方法)
How to moq a NetworkStream in a unit test?(如何在单元测试中起订量网络流?)
Mocking a method to throw an exception (moq), but otherwise act like the mocked object?(模拟一个抛出异常(moq)的方法,但
TDD and Mocking out TcpClient(TDD 和模拟 TcpClient)
How to Unit Test Startup.cs in .NET Core(如何在 .NET Core 中对 Startup.cs 进行单元测试)
SetupSequence in Moq(最小起订量中的设置序列)
Mocking User.Identity in ASP.NET MVC(在 ASP.NET MVC 中模拟 User.Identity)
Mocking classes that implement IQueryable with Moq(使用 Moq 实现 IQueryable 的模拟类)
Stubbing / mocking a database in .Net(在.Net中存根/模拟数据库)
Moq, strict vs loose usage(起订量,严格与宽松使用)
quot;Newing upquot; Interfaces(“更新接口)
Mocking classes that aren#39;t interfaces(模拟不是接口的类)