public void DeleteDrinkTest() { _pageList.DeleteDrink(0); Assert.AreEqual(_pageList.GetList(0).GetDrinkCount(), 0); _pageList.AddItem(new Drink("da", 123), 0); Assert.AreEqual(_pageList.GetList(0).GetDrinkCount(), 1); _pageList.DeleteDrink(0); Assert.AreEqual(_pageList.GetList(0).GetDrinkCount(), 0); }