public void BoolCollectionTest() { var expectedResult = new List <bool> { true, false, false, true, false, true, false, true, true }; nameValueMap.Value["BoolCollection"] = "True, False, FALSE, TRUE, False, true, false, true, True"; IEnumerable <bool> doubleCollection = nameValueMap.AsBoolCollection("BoolCollection"); Assert.Equal(expectedResult, doubleCollection); }