Exemple #1
0
        public void DoesAddItemActuallyIncreaseCountOfItems()
        {
            // Arrange
            Catering     catering = new Catering();
            CateringItem newItem  = new CateringItem("B1", "Soda", 1.50M, "B");

            // Act
            catering.Add(newItem);
            System.Collections.Generic.List <CateringItem> cateringItems = catering.AllCateringItems;
            //Assert
            Assert.AreEqual(1, cateringItems.Count);
        }