Example #1
0
        public void RemoveTest()
        {
            var target = new MockExceptionDictionary();

            Assert.Throws <Exception>(() => target.Remove(2), "RemoveItem");
        }
Example #2
0
        public void IndexerTest()
        {
            var target = new MockExceptionDictionary();

            Assert.Throws <Exception>(() => target[2] = 2, "SetItem");
        }
Example #3
0
        public void ClearTest()
        {
            var target = new MockExceptionDictionary();

            Assert.Throws <Exception>(() => target.Clear(), "ClearItems");
        }
Example #4
0
        public void RemoveTest()
        {
            var target = new MockExceptionDictionary();

            target.Remove(2);
        }
Example #5
0
        public void IndexerTest()
        {
            var target = new MockExceptionDictionary();

            target[2] = 2;
        }
Example #6
0
        public void ClearTest()
        {
            var target = new MockExceptionDictionary();

            target.Clear();
        }