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