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