public async ValueTask FirstOrDefaultAsync_With_ValidData_Must_Succeed(int[] source) { // Arrange var wrapped = Wrap .AsAsyncValueEnumerable(source); var expected = System.Linq.Enumerable.FirstOrDefault(source); // Act var result = await AsyncValueEnumerable .FirstOrDefaultAsync <Wrap.AsyncValueEnumerable <int>, Wrap.AsyncEnumerator <int>, int>(wrapped); // Assert _ = result.Must() .BeEqualTo(expected); }