public void Check_GetShoppingTrolley_WithTestData()
        {
            List <Product> productList = new()
            {
                new Product
                {
                    Id    = 1,
                    Name  = It.IsAny <string>(),
                    Brand = It.IsAny <string>(),
                },
                new Product
                {
                    Id    = 2,
                    Name  = It.IsAny <string>(),
                    Brand = It.IsAny <string>(),
                },
                new Product
                {
                    Id    = 3,
                    Name  = It.IsAny <string>(),
                    Brand = It.IsAny <string>(),
                }
            };

            _mockProductService.Setup(prod => prod.GetAllProducts()).Returns(productList);
            ShoppingTrolley shoppingTrolley = _sutShoppingTrolleyService.GetShoppingTrolley();

            Assert.Equal(3, shoppingTrolley.ShoppingTrolleyItems.Count);
        }
 public ShoppingTrolley GetShoppingTrolley()
 {
     return(_shoppingTrolleyService.GetShoppingTrolley());
 }