public void ExectueAddsDefaultNodes()
        {
            AddDatabaseSectionNodeCommand cmd = new AddDatabaseSectionNodeCommand(ServiceProvider);

            cmd.Execute(ApplicationNode);
            Assert.AreEqual(0, ErrorLogService.ConfigurationErrorCount);
            ConnectionStringSettingsNode          connectionStringNode = (ConnectionStringSettingsNode)Hierarchy.FindNodeByType(typeof(ConnectionStringSettingsNode));
            AddOracleConnectionElementNodeCommand oracleCmd            = new AddOracleConnectionElementNodeCommand(ServiceProvider);

            oracleCmd.Execute(connectionStringNode);
            Assert.IsNotNull(Hierarchy.FindNodeByType(connectionStringNode, typeof(OracleConnectionElementNode)));
        }
        public void ExectueAddsDefaultNodes()
        {
            AddDatabaseSectionNodeCommand cmd = new AddDatabaseSectionNodeCommand(ServiceProvider);

            cmd.Execute(ApplicationNode);
            Assert.AreEqual(0, ErrorLogService.ConfigurationErrorCount);
            ConfigurationNode node = Hierarchy.FindNodeByType(typeof(DatabaseSectionNode));

            Assert.IsNotNull(node);
            node = Hierarchy.FindNodeByType(typeof(ConnectionStringSettingsNode));
            Assert.IsNotNull(node);
            node = Hierarchy.FindNodeByType(typeof(ProviderMappingsNode));
            Assert.IsNotNull(node);
        }