public void EmptyUniqueList() { var list = new UniqueList <int> { 1, 2, 3 }; IEnumerable weak = list.AsWeakEnumerable(); var sequence = weak.Cast <int>().Take(3).ToArray(); CollectionAssert.AreEqual(sequence, new[] { 1, 2, 3 }); }