public void HasNextPage_ByDefault_ReturnsFalse() { // Arrange var paginator = new SortingPaginator <Person>(pageNumber: 1, pageSize: 5); // Act var result = paginator.HasNextPage(); // Assert Assert.IsFalse(result); }
public void HasNextPage_AfterPaginating_ReturnsTrue() { // Arrange var paginator = new SortingPaginator <Person>(pageNumber: 1, pageSize: 5); paginator.Paginate(People); // Act var result = paginator.HasNextPage(); // Assert Assert.IsTrue(result); }