public void Setup() { _helper = new SectionGroupSingletonHelper<TestGroup>("TestGroup"); var locator = new StaticConfigurationLocator("SectionGroupSingletonHelper"); _config = locator.Locate(); _locator = new Mock<IConfigurationLocator>(); _locator.Setup(c => c.Locate()).Returns(_config); }
public void Setup() { var locater = new StaticConfigurationLocator("Layer"); var config = locater.Locate(); _sectiongrp = config.GetSection("ExtractionLayer") as ExtractionLayerConfig; }