public void Apply_WhenExtensionNotIConsumeConfigurationSection_ShouldNotApplySection()
        {
            var extension = new Mock<IExtension>(MockBehavior.Strict);
            var testee = new ConsumeConfigurationSection(extension.Object);
            testee.Apply(null);

            extension.VerifyAll();
        }
        public void Apply_WhenExtensionIConsumeConfigurationSection_ShouldApplySection()
        {
            var extension = new Mock<IExtension>();
            var consumer = extension.As<IConsumeConfigurationSection>();

            var testee = new ConsumeConfigurationSection(extension.Object);
            testee.Apply(null);

            consumer.Verify(c => c.Apply(null));
        }