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

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

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