public void ClonedInstanceMustStillBeImmutable() { ISet clone = (ISet)Set.Clone(); Assert.Throws <NotSupportedException>(() => clone.Add("bad chair, bad chair")); }
public void ClonedInstanceMustStillBeImmutable() { ISet clone = (ISet)Set.Clone(); Assert.Throws <NotSupportedException>(() => clone.Add("bad chair, bad chair")); }