public void IntCollectionTest() { var expectedResult = new List <int> { 5, 8, 9, 100, 2, 3, 4096, 5, 60 }; nameValueMap.Value["IntCollection"] = "5, 8, 9, 100, 2, 3, 4096, 5, 60"; IEnumerable <int> intCollection = nameValueMap.AsIntCollection("IntCollection"); Assert.Equal(expectedResult, intCollection); }