Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public bool Pass(Review review)
 {
     return review.movie == this.movie;
 }
Exemplo n.º 3
0
 public bool Pass(Review review)
 {
     return review.Username == this.username;
 }
Exemplo n.º 4
0
 public bool AddReview(Review review)
 {
     
     listOfReviews.Add(review);
     return true;
 }