public void AddRangeNullTest() { Ifd target = new Ifd(); IEnumerable <Field> items = null; Assert.Throws <ArgumentNullException>(() => target.AddRange(items)); }
public void AddRangeTest() { Ifd target = new Ifd(); IEnumerable <Field> items = new List <Field> { new Field(), new Field(), new Field() }; target.AddRange(items); }