ReviewService { public Review addReview(Review review) { return reviewRepository.save(review); } @Autowired  ReviewService(ReviewRepository myReviewRepository);  ReviewService(); void setServices(PlanService planService, UserService userService, EmailService emailService); List<Review> getReviewsByPlace(String place); Review addReview(Review review); void deleteReview(int Id); void setReviewRepository(ReviewRepository repository);  }
@Test public void testAddreview() { assertEquals(review, service.addReview(review)); }
@Test public void testInvalidAddreview() { assertEquals(null, service.addReview(review2)); }