public async Task Should_throw_upon_calling_ToArrayAsync_on_remote_stream_queryable() { var ex = await Should.ThrowAsync <NotSupportedException>(async() => await AsyncRemoteStreamQueryable.ToArrayAsync()); ex.Message.ShouldBe(MustBeExecutedAsAsyncEnumerable); }