public void BuildContextTest()
 {
     ClientLoggingConfigurationDesignManager b = new ClientLoggingConfigurationDesignManager();
     GeneratedHierarchy.Open();
     ConfigurationDictionary dictionary = new ConfigurationDictionary();
     b.BuildContext(Host, dictionary);
     Assert.AreEqual(1, dictionary.Count);
     Assert.IsTrue(dictionary.Contains(LoggingSettings.SectionName));
 }
 public override void SetUp()
 {
     base.SetUp();
     ClientLoggingConfigurationDesignManager loggingConfigurationDesignManager = new ClientLoggingConfigurationDesignManager();
     loggingConfigurationDesignManager.Register(Host);
 }
 public override void SetUp()
 {
     base.SetUp();
     data = ApplicationData.FromCurrentAppDomain();
     applicationNode = new ApplicationConfigurationNode(data);
     CreateHierarchyAndAddToHierarchyService(applicationNode, CreateDefaultConfiguration());
     ClientLoggingConfigurationDesignManager loggingConfigurationDesignManager = new ClientLoggingConfigurationDesignManager();
     loggingConfigurationDesignManager.Register(Host);
 }