public void ActionFilterByEventCategoryShoudReturnCorrectlyPartialView()
        {
            var userServerce = new Mock<IUsersService>();
            var giftService = new Mock<IGiftService>();
            var dropDownPopupator = new Mock<IDropDownListPopulator>();

            giftService.Setup(x => x.GetAllNotClaimed())
                .Returns(new List<Gift>().AsQueryable());

            var controller = new GiftController(userServerce.Object, giftService.Object, dropDownPopupator.Object);
            controller.WithCallTo(x => x.FilterByEventCategory(It.IsAny<int>()))
                .ShouldRenderPartialView(GlobalConstants.ListGiftsPartial);
        }
        public void ActionAllShoudWorkCorrectly()
        {
            var userServerce = new Mock<IUsersService>();
            var giftService = new Mock<IGiftService>();
            var dropDownPopupator = new Mock<IDropDownListPopulator>();

            giftService.Setup(x => x.GetAll())
                .Returns(new List<Gift>().AsQueryable());

            var controller = new GiftController(userServerce.Object, giftService.Object, dropDownPopupator.Object);
            controller.WithCallTo(x => x.All(1))
                .ShouldRenderView("All");
        }