public void ReviewListExistsTest() { var ratingList = new ReviewList(); ratingList.Add(new Review(1, "Name1", "Description1", 2)); ratingList.Add(new Review(2, "Name2", "Description2", 3)); ratingList.Add(new Review(3, "Name3", "Description3", 4)); Assert.IsFalse(ratingList.Exists(0)); Assert.IsFalse(ratingList.Exists(-1)); Assert.AreEqual(ratingList.Exists(1), true); Assert.AreEqual(ratingList.Exists(2), true); Assert.AreEqual(ratingList.Exists(3), true); }