8 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (4)
DictionaryAssertsTests.cs (4)
78
Assert.
DoesNotContain
("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary);
81
Assert.
DoesNotContain
("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary());
109
assertFailure(() => Assert.
DoesNotContain
("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary));
112
assertFailure(() => Assert.
DoesNotContain
("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary(StringComparer.InvariantCultureIgnoreCase)));
xunit.assert (4)
DictionaryAsserts.cs (4)
264
=>
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);
280
=>
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);
296
=>
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);
318
=>
DoesNotContain
(expected, (IReadOnlyDictionary<TKey, TValue>)collection);