### Question:
WishlistItemDeleter { public void deleteWishlistItem(Long tmdbKinoId, String type) { if("kino".equals(type)){ WishlistDataDto byTmdbId = movieWishlistService.getById(tmdbKinoId); movieWishlistService.delete(byTmdbId); } else { WishlistDataDto byTmdbId = serieWishlistService.getById(tmdbKinoId); serieWishlistService.delete(byTmdbId); } } WishlistItemDeleter(Context context);   WishlistItemDeleter(SerieWishlistService serieWishlistService, MovieWishlistService movieWishlistService); void deleteWishlistItem(Long tmdbKinoId, String type);  }### Answer:
@Test public void deleteWishlistMovieItem() { doReturn(wishlistDataDto).when(movieWishlistService).getById(1564L); new WishlistItemDeleter(serieWishlistService, movieWishlistService).deleteWishlistItem(1564L, "kino"); verify(movieWishlistService).delete(wishlistDataDto); }
@Test public void deleteWishlistSerieItem() { doReturn(wishlistDataDto).when(serieWishlistService).getById(1564L); new WishlistItemDeleter(serieWishlistService, movieWishlistService).deleteWishlistItem(1564L, "serie"); verify(serieWishlistService).delete(wishlistDataDto); }