public void CopyTo_NullIList_Nop()
        {
            ICollection collection = new DesignerCollection((IList)null);
            var         array      = new object[] { 1, 2, 3 };

            collection.CopyTo(array, 1);
            Assert.Equal(new object[] { 1, 2, 3 }, array);
        }
        public void CopyTo_Invoke_Success()
        {
            var         designers  = new IDesignerHost[] { new TestDesignerHost(), new TestDesignerHost() };
            ICollection collection = new DesignerCollection(designers);

            IDesignerHost[] destination = new IDesignerHost[4];
            collection.CopyTo(destination, 1);

            Assert.Equal(new IDesignerHost[] { null, designers[0], designers[1], null }, destination);
        }