public void Recipe_Delete_RemoveObjectFromDatabase() { Recipe testRecipe = new Recipe("Pot Pie", "Microwave it"); testRecipe.Save(); testRecipe.Delete(); Assert.Equal(0, Recipe.GetAll().Count); }
public void Recipe_Delete_RemoveObjectFromDatabase() { Recipe testRecipe = new Recipe("Pot Pie", "Microwave it"); testRecipe.Save(); testRecipe.Delete(); Assert.Equal(0, Recipe.GetAll().Count); }