예제 #1
0
        public void UpdateStarter()
        {
            OrderList orderList = new OrderList();

            orderList.AddStarter(StarterMenu.Chips);
            orderList.UpdateStarter(StarterMenu.Chips, StarterMenu.HotWings);
            Assert.AreEqual(1, orderList.GetCountOfItems());
            Assert.AreEqual(StarterMenu.HotWings, orderList.GetList()[0].Meal);
        }