예제 #1
0
        public void StyleCollection_CopyTo()
        {
            // Arrange
            var style = new Style("id");

            var list = new StyleCollection();

            list.Add(style);

            var items = new Style[1];

            // Act
            list.CopyTo(items, 0);

            // Assert
            Assert.AreEqual(style, items[0]);
        }