Appccelerate.Bootstrapper.Configuration.ConfigurationSectionBehaviorTest.ConfigurationSectionBehaviorTest C# (CSharp) Method

ConfigurationSectionBehaviorTest() public method

public ConfigurationSectionBehaviorTest ( ) : System.Collections.Generic
return System.Collections.Generic
        public ConfigurationSectionBehaviorTest()
        {
            this.consumer = new Mock<IConsumeConfigurationSection>();
            this.sectionNameProvider = new Mock<IHaveConfigurationSectionName>();
            this.sectionProvider = new Mock<ILoadConfigurationSection>();

            this.factory = new Mock<IConfigurationSectionBehaviorFactory>();
            this.AutoStubFactory();

            this.extensions = new List<IExtension> { Mock.Of<IExtension>(), Mock.Of<IExtension>(), };

            this.testee = new ConfigurationSectionBehavior(this.factory.Object);
        }