public void AddDrinkAdditionTest() { Assert.AreEqual(_orderList.GetDrinkCount(), 0); _orderList.AddDrinkAddition(-1, new DrinkAddition("A")); Assert.AreEqual(_orderList.GetDrinkCount(), 0); _orderList.AddDrinkAddition(0, new DrinkAddition("A")); Assert.AreEqual(_orderList.GetDrinkCount(), 0); _orderList.AddDrinkAddition(1, new DrinkAddition("A")); Assert.AreEqual(_orderList.GetDrinkCount(), 0); _orderList.OrderDrink(new Drink("DD")); Assert.AreEqual(_orderList.GetDrinkCount(), 1); _orderList.AddDrinkAddition(-1, new DrinkAddition("A")); Assert.AreEqual(_orderList.GetDrinkCount(), 1); _orderList.AddDrinkAddition(0, new DrinkAddition("A")); Assert.AreEqual(_orderList.GetDrinkCount(), 1); _orderList.AddDrinkAddition(1, new DrinkAddition("A")); Assert.AreEqual(_orderList.GetDrinkCount(), 1); }