Example #1
0
        public void RemoveAtTest()
        {
            var d = new UrlDataList("x/y");

            Assert.Throws <NotSupportedException>(
                () =>
            {
                d.RemoveAt(0);
            },
                "The UrlData collection is read-only."
                );
        }
 public void RemoveAtTest()
 {
     var d = new UrlDataList("x/y");
     Assert.Throws<NotSupportedException>(() => { d.RemoveAt(0); }, "The UrlData collection is read-only.");
 }