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