public void CopyTo_ArgumentValidity(int count) { SegmentedList <T> list = GenericListFactory(count); Assert.Throws <ArgumentException>(null, () => list.CopyTo(0, new T[0], 0, count + 1)); Assert.Throws <ArgumentException>(null, () => list.CopyTo(count, new T[0], 0, 1)); }