Beispiel #1
0
        public static void Append1()
        {
            IEnumerable <int> source = new ThrowingEnumerable <int>();

            var q = Assert.DoesNotThrow(() => source.Append(1));

            Assert.ThrowsOnNext(q);
        }