Example #1
0
        public void PageInfo_Size_Is_1000()
        {
            //Arrange
            var somePagination = new SomePagination(new PageInfo(1000));

            //Act
            var pageSize = somePagination.PageInfo.PageSize;

            //Assert
            Assert.IsTrue(pageSize == 1000);
        }
Example #2
0
        public void Is_Instance_Of_BasePagination()
        {
            //Arrange
            var type = typeof(BasePagination);

            //Act
            var somePagination = new SomePagination(PageInfo);

            //Assert
            Assert.IsInstanceOf(type, somePagination);
        }