public void CalculateTotalPrice_EmptyBasket_PriceIsZero()
        {
            var skus = new List <string>();

            var price = _serviceToTest.CalculateTotalPrice(skus);

            Assert.AreEqual(0, price);
        }
Exemplo n.º 2
0
 public JsonResult TotalPrice(List <string> sku)
 {
     return(new JsonResult(_basketService.CalculateTotalPrice(sku)));
 }