public void TestListAdd() { Assert.Throws <NotSupportedException>(() => { testList.Add(4); }); }
public virtual void TestListAdd() { testList.Add(4); }