public async Task Test_Paging_Functionality() { var pagedPosts = await _indexProvider.Search() .Paged(2, 5) .ListResult <BlogPost>(); Assert.Equal(10, pagedPosts.Count); Assert.Equal("10", pagedPosts.Hits.Last().Hit.Id); }
public async Task Test_Paging_Functionality() { var pagedPosts = await _indexProvider.Search() .Paged(2, 5) .ListResult <BlogPost>(); Assert.Equal(10, pagedPosts.Count); Assert.Equal("10", pagedPosts.Hits.Last().Hit.Id); }