Exemplo n.º 1
0
        public void GetAllContentShouldGetContent()
        {
            // Arrange
            MenuItems eggs = new MenuItems(_repo.MenuItemNum(), "Eggs", "Eggs with toast", "eggs, butter, bread", 3.99);

            _repo.AddItemsToList(eggs);
            // Act
            MenuItems testContent = _repo.GetMenuItemsByName("Eggs");

            // Assert
            Assert.AreEqual(eggs, testContent);
        }