public void SaveID_ShouldNotSaveTheSameIdTwice()
        {
            //Arrange
            var fakeContext = CreateJONCookieInFakeHttpContextWith10ItemsInside();

            var cookiePersistence = new CookieWishListPersistence(fakeContext);

            var newID = fixture.CreateAnonymous<int>();
            //Act
            cookiePersistence.SaveID(newID);
            cookiePersistence.SaveID(newID);
            cookiePersistence.SaveID(newID);

            //Assert

            var list = cookiePersistence.GetItemsOnWishList();
            list.Should().HaveCount(11);
        }
        public void SaveID_ShouldSaveTheIDtoTheCookieAndCreateTheCookieIfCookieDoesntExists()
        {
            //Arrange
            var fakeContext = CreateFakeHttpContextWithoutTheCookie();

            var cookiePersistence = new CookieWishListPersistence(fakeContext);

            var newID = fixture.CreateAnonymous<int>();
            //Act
            cookiePersistence.SaveID(newID);

            //Assert
            fakeContext.Response.Cookies["JON"].Should().NotBeNull();
        }