public void Test_ReviewEmptyFirst() { // Arrange int result = Review.GetAll().Count; // Act // Assert Assert.Equal(0, result); }
public void Test_Review_Save_CheckIfSavedReview() { // Arrange Review firstReview = new Review("Their pizza was marvelous", 4, 0); firstReview.Save(); // Act Review result = Review.GetAll()[0]; // Assert Assert.Equal(firstReview, result); }