public void AddTest() { Ifd target = new Ifd(); Field item = new Field(); target.Add(item); }
public void AddNullTest() { Ifd target = new Ifd(); Field item = null; Assert.Throws <ArgumentNullException>(() => target.Add(item)); }