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

Behave_ShouldApplySectionFromProvider() private method

private Behave_ShouldApplySectionFromProvider ( ) : void
return void
        public void Behave_ShouldApplySectionFromProvider()
        {
            var configurationSection = Mock.Of<ConfigurationSection>();
            this.sectionProvider.Setup(p => p.GetSection(It.IsAny<string>())).Returns(configurationSection);

            this.testee.Behave(this.extensions);

            this.consumer.Verify(c => c.Apply(configurationSection));
        }