public void CopyTo_MultipleTypes_Success() { object[] array = new object[5]; var attribute = new DirectoryAttribute { "value", new byte[] { 1, 2, 3 }, new Uri("http://microsoft.com") }; attribute.CopyTo(array, 1); Assert.Equal(new object[] { null, "value", new byte[] { 1, 2, 3 }, new Uri("http://microsoft.com"), null }, array); }