Asserts\AsyncCollectionAssertsTests.cs (5)
20 Assert.Throws<ArgumentNullException>("collection", () => Assert.All(default(IAsyncEnumerable<object>)!, _ => { }));
21 Assert.Throws<ArgumentNullException>("action", () => Assert.All(Array.Empty<object>().ToAsyncEnumerable(), (Action<object>)null!));
30 Assert.All(items, x => Assert.Equal(1, x));
38 var ex = Record.Exception(() => Assert.All(items, item => Assert.Equal(1, item)));
90 var ex = Record.Exception(() => Assert.All(items, x => Assert.Equal(1, x)));