7 references to Single
Microsoft.DotNet.XUnitAssert.Tests (7)
AsyncCollectionAssertsTests.cs (7)
1384
Assert.Throws<ArgumentNullException>("collection", () => Assert.
Single
(default(IAsyncEnumerable<object>)!));
1392
var ex = Record.Exception(() => Assert.
Single
(collection));
1403
var item = Assert.
Single
(collection);
1413
var ex = Record.Exception(() => Assert.
Single
(collection));
1428
var ex = Record.Exception(() => Assert.
Single
(collection));
1443
var value = Assert.
Single
(collection);
1453
var ex = Record.Exception(() => Assert.
Single
(collection));