public void RemoveItemsListTest() { //Arrange is set from Test Initialize //Act bool actual = menuTest.RemoveItemsFromList("Komodo Omelette"); //Assert Assert.AreEqual(true, actual); }
private void DeleteMenuItem() { DisplayAllItems(); //Get the meal number they want to delete Console.WriteLine("Enter the meal name of the menu item you would like to remove"); string input = Console.ReadLine(); //Call the delete method bool wasDeleted = _itemRepo.RemoveItemsFromList(input); //If the content was deleted, say so //Otherwise state it could not be deleted if (wasDeleted) { Console.WriteLine("The content was successfullly deleted."); } else { Console.WriteLine("The content was not successfully deleted. Please retry."); } }