Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void PaginateList_ValidCurrentPageAndPageSize_ReturnsCorrectlyPaginatedList() { var result = _paginationService.PaginateList(_listToPaginate, 1, 5); Assert.Equal(5, result.Count()); Assert.Equal(_listToPaginate[4], result.Last()); }