set;} public object Dummy(int A, int B) return new { A,B,C};} 我不知道如何让属性包含在返回的对象中=> x.Dummy(It.IsAny(),It.IsAny { return new { A, B };// How do I return C along with A and B 我甚至不确定这是否可能
IProductRepository:{}public static IProductsRepository MockProductsRepository(params Product[] prods) var mockProductReposMockProductsRepository方法:public voi