### Question:
MovieWishlistService implements WishlistService { public List<WishlistDataDto> getAll() { List<WishlistMovie> wishlistMovies = wishlistMovieRepository.findAll(); List<WishlistDataDto> serieDataDtos = new ArrayList<>(); for (WishlistMovie wishlistMovie : wishlistMovies) { serieDataDtos.add(wishlistMovieToSerieDataDtoBuilder.build(wishlistMovie)); } return serieDataDtos; } MovieWishlistService(DaoSession daoSession);   MovieWishlistService(WishlistMovieRepository wishlistMovieRepository, TmdbKinoRepository tmdbKinoRepository, WishlistMovieToSerieDataDtoBuilder wishlistMovieToSerieDataDtoBuilder); void createMovieData(WishlistDataDto wishlistDataDto); List<WishlistDataDto> getAll(); void delete(WishlistDataDto wishlistDataDto); @Override WishlistDataDto getByTmdbId(Integer id); @Override WishlistDataDto getById(Long id); @Override WishlistDataDto getWithTmdbId(long tmdbId); @Override WishlistDataDto createOrUpdate(WishlistDataDto dtoObject); @Override void createOrUpdateWithTmdbId(List<WishlistDataDto> dtos);  }### Answer:
@Test public void getAll() { final WishlistMovie wishlistMovie = mock(WishlistMovie.class); doReturn(new ArrayList<WishlistMovie>(){{add(wishlistMovie);}}).when(wishlistMovieRepository).findAll(); final WishlistDataDto wishlistDataDto = mock(WishlistDataDto.class); doReturn(wishlistDataDto).when(wishlistMovieToSerieDataDtoBuilder).build(wishlistMovie); assertEquals( new ArrayList<WishlistDataDto>() {{ add(wishlistDataDto); }}, new MovieWishlistService(wishlistMovieRepository, tmdbKinoRepository, wishlistMovieToSerieDataDtoBuilder).getAll() ); }