Can I access the full power of Autofac in UnitTests, using the Moq integration
问题 My project (which happens built on top of Orchard, though I don't think that's relevant) uses Autofac. I am writing unit tests in which I want to stub out any dependencies using Moq, and I'm using the Autofac/Moq integration to achieve this. This is fine for any simple dependencies that are being passed in as constructor arguments. (Autofac documentation provides details of how to achieve this here). But because I don't ever have a containerBuilder, I don't see how to use a lot of Autofac's