public void IdList_NoIntegegers_ReturnsException() { var toggle = new IdList_NoItegers(); Assert.Throws <ArgumentException>(() => { var isEnabled = toggle.Enabled; }); }
public IdListProvider() { var noItegers = new IdList_NoItegers(SpaId); var singleIntInList = new IdList_SingleInteger_IdInList(SpaId); var listOfIntsInList = new IdList_ListOfIntegers_IdInList(SpaId); var singleIntNotInList = new IdList_SingleInteger_IdNotInList(SpaId); var listOfIntsNotInList = new IdList_ListOfIntegers_IdNotInList(SpaId); kvp = new Dictionary <string, string>(); kvp.Add(noItegers.Key, "NoIntegers"); kvp.Add(singleIntInList.Key, "119"); kvp.Add(listOfIntsInList.Key, "900,12,-2,119"); kvp.Add(singleIntNotInList.Key, "200"); kvp.Add(listOfIntsNotInList.Key, "900,12,-2,120"); }