public BasketController(IBasketUtil basketUtil) { _items = new List <Item>() { new Item() { Name = "Apple" }, new Item() { Name = "Banana" } }; _basketUtil = basketUtil; }
public BasketUtilTests() { _logger = new Mock <ILogger <BasketUtil> >(); _sut = new BasketUtil(_logger.Object); }