Exemplo n.º 1
0
        public void TotalForCartItem()
        {
            // Arrrange
            var cartItem         = GetCartItem();
            var calculateService = new CalculateService();
            // Act
            var totalForCartItem = calculateService.TotalForCartItem(cartItem);

            // Assert
            Assert.Equal(45, totalForCartItem);
        }