Пример #1
0
 public void NullDictionary_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => NullDict.ForEach((key, value) => { }));
 }
Пример #2
0
 public void NullDictionary_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => NullDict.GetValueOrDefault(1));
 }