Ejemplo n.º 1
0
 public void constructAmazingFacebookRecommendation(IReviewBuilder builder)
 {
     builder.reset();
     builder.setRecommendation(Recommendation.RECOMMMEND);
     builder.setContent("Great place!");
     builder.setAuthorName("Jane Doe");
 }
Ejemplo n.º 2
0
 public void constructBadGoogleReview(IReviewBuilder builder)
 {
     builder.reset();
     builder.setRating(Rating.ONE);
     builder.setContent("Horrible place");
     builder.setAuthorName("John Smith");
 }