public void CountWithOutPaging_Is_Twenty() { //Arrange var pagination = new Olbrasoft.Pagination.Pagination(PageInfo, GetTwenty); //Act var count = pagination.CountWithOutPaging(); //Assert Assert.IsTrue(count == 20); }
public void Is_Instance_BasePagination() { //Arrange var type = typeof(BasePagination); //Act var pagination = new Olbrasoft.Pagination.Pagination(PageInfo, GetThen); //Assert Assert.IsInstanceOf(type, pagination); }