Esempio n. 1
0
 public void CountWithPredicateSourceArgumentNull()
 {
     Assert.Throws <ArgumentNullException>(() => NullData.Count(x => true)).WithParameter("source");
 }
Esempio n. 2
0
 public void CountSourceArgumentNull()
 {
     Assert.Throws <ArgumentNullException>(() => NullData.Count()).WithParameter("source");
 }