Beispiel #1
0
 public void Save_NothingInList()
 {
     Assert.AreEqual("-1", DSDropDownBase.SaveSelectedIndex(5, new List <DynamoDropDownItem>()));
 }
Beispiel #2
0
 public void Save_SelectedIndex()
 {
     Assert.AreEqual(
         "2:banana:blueberry",
         DSDropDownBase.SaveSelectedIndex(2, TestList()));
 }
Beispiel #3
0
 public void Save_NothingSelected()
 {
     Assert.AreEqual(
         "-1",
         DSDropDownBase.SaveSelectedIndex(-1, TestList()));
 }