public void CalculatePageCount_totalItemCount_less_than_pageSize()
        {
            const int totalItemCount = 25;
            const int pageSize       = 50;

            Assert.AreEqual(1, ResultsPagingUtility.CalculatePageCount(totalItemCount, pageSize));
        }
        public void CalculatePageCount_totalItemCount_greater_than_pageSize()
        {
            const int pageSize       = 25;
            const int totalItemCount = pageSize + 1;

            Assert.AreEqual(2, ResultsPagingUtility.CalculatePageCount(totalItemCount, pageSize));
        }
        public void CalculatePageCount_three_pages()
        {
            const int pageSize       = 25;
            const int totalItemCount = (pageSize * 2) + 1;

            Assert.AreEqual(3, ResultsPagingUtility.CalculatePageCount(totalItemCount, pageSize));
        }
 public void CalculatePageCount_invalid_totalItemCount()
 {
     ResultsPagingUtility.CalculatePageCount(-1, 50);
 }
 public void CalculatePageCount_invalid_pageSize()
 {
     ResultsPagingUtility.CalculatePageCount(25, 0);
 }