Appccelerate.Bootstrapper.Configuration.LoadConfigurationSectionTest.GetSection_ExtensionIsILoadExtensionConfigurationSection_ShouldDelegateLoadingToExtension C# (CSharp) Method

GetSection_ExtensionIsILoadExtensionConfigurationSection_ShouldDelegateLoadingToExtension() private method

        public void GetSection_ExtensionIsILoadExtensionConfigurationSection_ShouldDelegateLoadingToExtension()
        {
            var extension = new Mock<IExtension>();
            var loader = extension.As<ILoadConfigurationSection>();

            var testee = new LoadConfigurationSection(extension.Object);
            testee.GetSection(AnyName);

            loader.Verify(l => l.GetSection(AnyName));
        }
    }