Review implements Serializable { public String getTitle() { return this.title; } protected  Review();  Review(Hotel hotel, int index, ReviewDetails details); Hotel getHotel(); void setHotel(Hotel hotel); @IgnoreGetter int getIndex(); Long getId(); void setId(Long id); void setIndex(int index); Rating getRating(); void setRating(Rating rating); Date getCheckInDate(); void setCheckInDate(Date checkInDate); TripType getTripType(); void setTripType(TripType tripType); String getTitle(); void setTitle(String title); String getDetails(); void setDetails(String details);  }
@Test public void test() throws Exception { getReviews().forEach(r -> assertThat(r.getTitle(), is(not("FooBar")))); getReviews() .map(r -> ReviewBuilders.reviewUpdater(r) .title("FooBar") .done()) .forEach(reviewRepository::save); getReviews().forEach(r -> assertThat(r.getTitle(), is("FooBar"))); }