public void ConvertTo_PopulatesArray_WhenSourceArrayNeedsToBeConvertedToArray() { // Arrange string[] values = new[] { "3", "2", "1" }; var valueProviderResult = new ValueProviderResult(values, values.ToString(), CultureInfo.InvariantCulture); // Act var convertedValue = valueProviderResult.ConvertTo(typeof(int[])); // Assert Assert.Equal(new[] { 3, 2, 1 }, convertedValue); }