Example #1
0
        public void CanRemoveTwoDuplicatesWithStaticMethod()
        {
            ContentItem item = CreateOneItem <FirstItem>(1, "one", null);
            ItemList    list = new ItemList();

            list.Add(item);
            list.Add(item);
            DuplicateFilter.FilterDuplicates(list);
            Assert.AreEqual(1, list.Count);
        }