protected override IContainer BuildApplicationContainer()
 {
     var mockFactory = GetMockFactory();
     var builder = new AutofacContainerFactory().Create(mockFactory);
     ConfigureContainer(builder);
     var container = builder.Build();
     return new AutofacContainer(container);
 }
Beispiel #2
0
        protected override IContainer BuildApplicationContainer()
        {
            var builder = new AutofacContainerFactory().Create(MockFactory);

            ConfigureContainer(builder);
            var container = builder.Build();

            return(new AutofacContainer(container));
        }