protected override void Arrange()
        {
            Source = new TestConfigurationSource();
            ConfigurationSourceHandler = new TestableConfigurationSourceHandler(Source);

            SubordinateSource1 = new TestConfigurationSource();

            ConfigurationSourceHandler.DoAddCustomSubordinateSource(SubordinateSource1Name, SubordinateSource1);
        }
        protected override void Arrange()
        {
            LocalSource = new TestConfigurationSource();
            var sectionForLocalSource = Arrange_GetLocalSourceSection();
            if (sectionForLocalSource != null) LocalSource.Add(SectionName, sectionForLocalSource);

            ParentSource = new TestConfigurationSource();
            var sectionForParentSource = Arrange_GetParentSourceSection();
            if (sectionForParentSource != null) ParentSource.Add(SectionName, sectionForParentSource);

            HierarchicalSourceHandler = new HierarchicalConfigurationSourceHandler(LocalSource, ParentSource);
            LocalSource.SetHierarchyHandler(HierarchicalSourceHandler);
        }
        protected override void Arrange()
        {
            ConfigurationSourceSection configurationSourcesSection = CreateConfigurationSourceSection();

            MainSource = new TestConfigurationSource();
            MainSource.Add(ConfigurationSourceSection.SectionName, configurationSourcesSection);

            CompositionHandler = new TestCompositeConfigurationSourceHandler(MainSource);
            MainSource.SetCompositeHandler(CompositionHandler);

            ChildSource1 = (TestConfigurationSource)CompositionHandler["Source1"];
            ChildSource2 = (TestConfigurationSource)CompositionHandler["Source2"];

            MainSourceEventListener = new ConfigurationSourceEventListener(MainSource);

            ChildSource1.Add(SectionInChildSource1, new DummySection { Name = SectionInChildSource1, Value = 15 });
        }
        protected override void Arrange()
        {
            Source = new TestConfigurationSource();
            Source.Add(ConfigurationSourceSection.SectionName, CreateConfigurationSourceSection());

            ConfigurationSourceHandler = new TestableConfigurationSourceHandler(Source);

            SubordinateSource1 = ConfigurationSourceHandler.DoGetConfigurationSource(SubordinateSource1Name) as TestConfigurationSource;

        }
        protected override void Arrange()
        {
            base.Arrange();

            sourceSection = new ConfigurationSourceSection() {ParentSource = "MissingParentSource"};
            var localSource = new TestConfigurationSource();
            localSource.Add(ConfigurationSourceSection.SectionName, sourceSection);
            hierarchicalConfigurationSourceHandler = new HierarchicalConfigurationSourceHandler(localSource);
            localSource.SetHierarchyHandler(hierarchicalConfigurationSourceHandler);
        }