示例#1
0
 public void WithNullIList_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() =>
                                           NullStringList.AddWhen(true, AdditionalName));
 }
示例#2
0
 public void WithNullList_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() =>
                                           NullStringList.AddRangeWhen(() => true, AddRange));
 }
示例#3
0
 public void WithMethodCallAndNullIList_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() =>
                                           NullStringList.AddWhen(() => true, AddName));
 }