// [Fact] // public void Test_Update_UpdatesRestaurantInDatabase() // { // string name = "Chinese"; // Restaurant testRestaurant = new Restaurant(name); // testRestaurant.Save(); // string newName = "French"; // // testRestaurant.Update(newName); // // string result = testCategory.GetName(); // // Assert.Equal(newName, result); // } public void Dispose() { Restaurant.DeleteAll(); Cuisine.DeleteAll(); }
public void Test_RestaurantsEmptyAtFirst() { int result = Restaurant.GetAll().Count; Assert.Equal(0, result); }