public void Then_If_Total_Is_Zero_Items_Returned_Then_Null_Returned(CmsContent source)
        {
            //Arrange
            source.Total = 0;

            //Act
            var actual = new BannerPageModel().Build(source);

            //Assert
            actual.Should().BeNull();
        }
        public void Then_If_No_Items_Returned_Then_Null_Returned()
        {
            //Arrange
            var source = new CmsContent {
                Items = new List <Item>(), Total = 1
            };

            //Act
            var actual = new BannerPageModel().Build(source);

            //Assert
            actual.Should().BeNull();
        }