public ConfigurationSectionBehaviorTest() { this.consumer = A.Fake <IConsumeConfigurationSection>(); this.sectionNameProvider = A.Fake <IHaveConfigurationSectionName>(); this.sectionProvider = A.Fake <ILoadConfigurationSection>(); this.factory = A.Fake <IConfigurationSectionBehaviorFactory>(); this.AutoStubFactory(); this.extensions = new List <IExtension> { A.Fake <IExtension>(), A.Fake <IExtension>(), }; this.testee = new ConfigurationSectionBehavior(this.factory); }
/// <summary> /// Initializes a new instance of the <see cref="ConfigurationSectionBehavior"/> class. /// </summary> /// <param name="factory">The factory.</param> public ConfigurationSectionBehavior(IConfigurationSectionBehaviorFactory factory) { this.factory = factory; }