4 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (4)
AsyncCollectionAssertsTests.cs (4)
544
Assert.Throws<ArgumentNullException>("collection", () => Assert.
DoesNotContain
(default(IAsyncEnumerable<int>)!, item => true));
545
Assert.Throws<ArgumentNullException>("filter", () => Assert.
DoesNotContain
(new int[0].ToAsyncEnumerable(), (Predicate<int>)null!));
553
var ex = Record.Exception(() => Assert.
DoesNotContain
(list, item => item.StartsWith("w")));
569
Assert.
DoesNotContain
(list, item => item.StartsWith("q"));