### Question:
MovieWishlistService implements WishlistService { public void delete(WishlistDataDto wishlistDataDto) { wishlistMovieRepository.delete(wishlistDataDto.getId()); } 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 delete() { final WishlistDataDto wishlistDataDto = mock(WishlistDataDto.class); doReturn(345L).when(wishlistDataDto).getId(); new MovieWishlistService(wishlistMovieRepository, tmdbKinoRepository, wishlistMovieToSerieDataDtoBuilder).delete(wishlistDataDto); verify(wishlistMovieRepository).delete(345L); }