public void ReturnsSelf()
            {
                var target   = new ObservableCollection <string>();
                var elements = new string[] { };

                var result = SrkObservableCollectionExtensions.AddRange <string>(target, elements);

                Assert.AreEqual(target, result);
            }
            public void CorrectlyAddsElements()
            {
                var target   = new ObservableCollection <string>();
                var elements = new string[] { "a", "b", };

                SrkObservableCollectionExtensions.AddRange <string>(target, elements);

                Assert.AreEqual(2, target.Count);
            }
 public void ThrowsWhenArg1IsNull()
 {
     SrkObservableCollectionExtensions.AddRange <string>(new ObservableCollection <string>(), null);
 }
 public void ThrowsWhenArg0IsNull()
 {
     SrkObservableCollectionExtensions.AddRange <string>(null, new string[0]);
 }