Example #1
0
 public void Review_ChangeTextMethodChangesSetsTheValueOfTextToAChangedText()
 {
     Review review = new Review(user, text, movie);
     string changedText = "NovaRecenzija";
     review.ChangeText(changedText, user);
     Assert.AreEqual(review.text, changedText);
 }
Example #2
0
 public bool Pass(Review review)
 {
     return review.movie == this.movie;
 }
Example #3
0
 public bool Pass(Review review)
 {
     return review.Username == this.username;
 }
Example #4
0
 public bool AddReview(Review review)
 {
     
     listOfReviews.Add(review);
     return true;
 }