Example #1
0
        public void ClassImplementingICollectionClearWorks()
        {
            var c = new ReassemblingCollection(new[] { this._frame1, this._frame2 });

            c.Clear();
            Assert.Empty(c);
        }
        public void ClassImplementingICollectionCastToICollectionRemoveWorks()
        {
            var c = new ReassemblingCollection(new[] { this._frame1.Object, this._frame2.Object });

            c.Clear();
            Assert.Empty(c);
        }