public void OrderBy_NullSource_ThrowsArgumentNullException() { AssertExtensions.Throws <ArgumentNullException>("source", () => TypedTableBaseExtensions.OrderBy <DataRow, string>(null, row => "abc")); AssertExtensions.Throws <ArgumentNullException>("source", () => TypedTableBaseExtensions.OrderBy <DataRow, string>(null, row => "abc", StringComparer.CurrentCulture)); }
public void Where_NullSource_ThrowsArgumentNullException() { AssertExtensions.Throws <ArgumentNullException>("source", () => TypedTableBaseExtensions.Where <DataRow>(null, row => true)); }
public void AsEnumerable_NullSource_ThrowsArgumentNullException() { AssertExtensions.Throws <ArgumentNullException>("source", () => TypedTableBaseExtensions.AsEnumerable <DataRow>(null)); }
public void Select_NullSource_ThrowsArgumentNullException() { AssertExtensions.Throws <ArgumentNullException>("source", () => TypedTableBaseExtensions.Select <DataRow, string>(null, row => "abc")); }