public void EventFullBanner_Action_Sets_WaitList_Property_In_ViewBag()
        {
            //Arrange
            _waitListHelper.SetWaitListStatus().Returns(true);

            //Act
            var controller = new ContentController(_sponsorRepository, _waitListHelper);
            var result = controller.EventFullBanner();

            //Assert
            Assert.IsNotNull(result.AssertPartialViewRendered().ViewBag.IsEventFull);
        }
        public void RotatorContent_Action_Returns_View()
        {
            //Arrange
            _sponsorRepository.FindAll().ReceivedWithAnyArgs().Returns(new List<Sponsor>());

            //Act
            var controller = new ContentController(_sponsorRepository, _waitListHelper);
            var result = controller.RotatorContent();

            //Assert
            result.AssertPartialViewRendered();
        }
        public void EventFullBanner_Action_Returns_View()
        {
            //Arrange
            _waitListHelper.SetWaitListStatus().Returns(true);

            //Act
            var controller = new ContentController(_sponsorRepository, _waitListHelper);
            var result = controller.EventFullBanner();

            //Assert
            result.AssertPartialViewRendered();
        }