AsyncCollectionAssertsTests.cs (5)
21 Assert.Throws<ArgumentNullException>("collection", () => Assert.All(default(IAsyncEnumerable<object>)!, _ => { }));
22 Assert.Throws<ArgumentNullException>("action", () => Assert.All(new object[0].ToAsyncEnumerable(), (Action<object>)null!));
31 Assert.All(items, x => Assert.Equal(1, x));
39 var ex = Record.Exception(() => Assert.All(items, item => Assert.Equal(1, item)));
91 var ex = Record.Exception(() => Assert.All(items, x => Assert.Equal(1, x)));