### Question:
WishlistCsvExportWriter extends CsvExportWriter<WishlistDataDto> { public void write(WishlistDataDto wishlistDataDto) throws IOException { csvPrinterWrapper.printRecord( wishlistDataDto.getId(), wishlistDataDto.getTmdbId(), wishlistDataDto.getTitle(), wishlistDataDto.getOverview(), wishlistDataDto.getFirstYear(), wishlistDataDto.getPosterPath(), wishlistDataDto.getReleaseDate(), wishlistDataDto.getWishlistItemType().toString() ); } WishlistCsvExportWriter(Appendable out);   WishlistCsvExportWriter(CSVPrinterWrapper csvPrinterWrapper); void write(WishlistDataDto wishlistDataDto);  }### Answer:
@Test public void write() throws Exception { wishlistDto = new WishlistDataDto( 24L, 25, "a title", "/path", "an overview", 2012, "20120212", WishlistItemType.MOVIE ); new WishlistCsvExportWriter(csvPrinterWrapper).write(wishlistDto); verify(csvPrinterWrapper).printRecord( 24L, 25, "a title", "an overview", 2012, "/path", "20120212", "MOVIE" ); }