Example #1
0
        public void MenuRepository_AddDrinkToMenu_ShouldIncreaseCountByOne()
        {
            //-- Arrange
            Menu komodoKlassic = new Menu("6", "Komodo Klassic", "Our original cup of joe just as it was brewed back in the fifties. We even kept the price the same!", "Water, Komodo Koffee Beans", 0.48m);

            menuRepo.AddDrinkToMenu(komodoKlassic);

            //-- Act
            int actual   = menuRepo.CountMenuItems();
            int expected = 1;

            //-- Assert
            Assert.AreEqual(expected, actual);
        }