3 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (3)
Asserts\AsyncCollectionAssertsTests.cs (3)
524 Assert.Throws<ArgumentNullException>("collection", () => Assert.DoesNotContain(14, default(IAsyncEnumerable<int>)!, comparer)); 525 Assert.Throws<ArgumentNullException>("comparer", () => Assert.DoesNotContain(14, Array.Empty<int>().ToAsyncEnumerable(), null!)); 533 Assert.DoesNotContain(42, list, new MyComparer());