public void SetUp() { using (var container = AutofacModule.Configure()) { _scope = container.BeginLifetimeScope(); _importMethodHelper = _scope.Resolve <IImportMethodHelper>(); } }
public void SetUp() { using (var container = AutofacModule.Configure()) { _scope = container.BeginLifetimeScope(); _xmlFeedProvider = _scope.Resolve <IXmlFeedProvider>(); } }
public void SetUp() { xmlTestFile = XmlFileBuilder.FileBuilder(); using (var container = AutofacModule.Configure()) { _scope = container.BeginLifetimeScope(); _xmlFtpDataHandler = _scope.Resolve <IXmlFtpDataHandler>(); } }
public void SetUp() { xmlTestFile = XmlFileBuilder.FileBuilder(); using (var container = AutofacModule.Configure()) { _scope = container.BeginLifetimeScope(); _newStoryService = _scope.Resolve <INewStoryService>(); } }
public void SetUp() { using (var container = AutofacModule.Configure()) { _scope = container.BeginLifetimeScope(); _definitionHandler = _scope.Resolve <IDefinitionHandler>(); _xmlFeedService = _scope.Resolve <IXmlFeedService>(); _urlDefinition = _scope.Resolve <IUrlDefinition>(); } parameterArray = new List <object> { _xmlFeedService }; }