public void ExceptWithRemovesElementsTest() { set.Add(1); set.Add(2); set.Add(3); set.ExceptWith(list); Assert.IsFalse(set.Contains(2)); }