设置
{"Resolutionof the dependency failed, type = "UnderwritingWorkflow.Common.Services.IValidationService", name = "Are you missing a type mapping?Container.Re
IMessageService, MessageService>()因此,我遇到的主要问题是如何使用UnityAutoMoq在单元测试中将IMessageGenerator接口的模拟实例传递给IMessageService?Index() var container = new UnityAutoMoqContainer();
var controllerContext =