### Question:
SerieDtoToDbBuilder { public Review buildReview(SerieDto serieDto) { return new Review( serieDto.getReviewId(), serieDto.getTitle(), serieDto.getReview_date(), serieDto.getReview(), serieDto.getRating(), serieDto.getMaxRating() ); }  Review buildReview(SerieDto serieDto); TmdbSerie buildTmdbSerie(SerieDto serieDto); SerieEpisode buildSerieEpisode(SerieEpisodeDto serieEpisodeDto);  }### Answer:
@SuppressWarnings("ResultOfMethodCallIgnored") @Test public void build_review() { Date reviewDate = new Date(); doReturn(null).when(serieDto).getReviewId(); doReturn(5f).when(serieDto).getRating(); doReturn(10).when(serieDto).getMaxRating(); doReturn("a review").when(serieDto).getReview(); doReturn("a title").when(serieDto).getTitle(); doReturn(reviewDate).when(serieDto).getReview_date(); Review review = new Review( null, "a title", reviewDate, "a review", 5f, 10 ); assertEquals( review, new SerieDtoToDbBuilder().buildReview(serieDto) ); }