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