Example #1
0
        public void Update_UpdateBasket_ReturnTrueResult()
        {
            IBasketService basketService = new BasketManager(_mockBasketDal.Object);
            Basket         basket        = new Basket
            {
                Id         = 1,
                UserId     = It.IsAny <int>(),
                CreateDate = DateTime.Now,
                Active     = true
            };
            var result = basketService.Update(basket);

            Assert.IsTrue(result.Success);
        }