public void AddRangeTest()
 {
     errors.Add(new ConfigurationError(new MyNode(), "Argument Exception"));
     errors.Add(new ConfigurationError(new MyNode(), "Argument Exception"));
     ConfigurationErrorCollection errorCollection = new ConfigurationErrorCollection();
     errorCollection.AddRange(errors);
     Assert.AreEqual(2, errorCollection.Count);
 }
        public void AddRangeTest()
        {
            errors.Add(new ConfigurationError(new MyNode(), "Argument Exception"));
            errors.Add(new ConfigurationError(new MyNode(), "Argument Exception"));
            ConfigurationErrorCollection errorCollection = new ConfigurationErrorCollection();

            errorCollection.AddRange(errors);
            Assert.AreEqual(2, errorCollection.Count);
        }