public void ToArray_With_ValidData_Collections_Must_Succeed(int[] source) { // Arrange var wrapped = Wrap .AsValueCollection(source); var expected = System.Linq.Enumerable.ToArray(source); // Act var result = ValueEnumerable .ToArray <Wrap.ValueCollection <int>, Wrap.Enumerator <int>, int>(wrapped); // Assert _ = result.Must() .BeArrayOf <int>() .BeEqualTo(expected); }