### Question:
PdfUtilities { public static File convertPdf2Tiff(File inputPdfFile) throws IOException { File[] pngFiles = null; try { pngFiles = convertPdf2Png(inputPdfFile); File tiffFile = File.createTempFile("multipage", ".tif"); ImageIOHelper.mergeTiff(pngFiles, tiffFile); return tiffFile; } catch (UnsatisfiedLinkError ule) { throw new RuntimeException(getMessage(ule.getMessage())); } catch (NoClassDefFoundError ncdfe) { throw new RuntimeException(getMessage(ncdfe.getMessage())); } finally { if (pngFiles != null) { for (File tempFile : pngFiles) { tempFile.delete(); } } } }  static File convertPdf2Tiff(File inputPdfFile); static File[] convertPdf2Png(File inputPdfFile); static void splitPdf(String inputPdfFile, String outputPdfFile, String firstPage, String lastPage); static void splitPdf(File inputPdfFile, File outputPdfFile, int firstPage, int lastPage); static int getPdfPageCount(String inputPdfFile); static int getPdfPageCount(File inputPdfFile); static void mergePdf(File[] inputPdfFiles, File outputPdfFile); static final String GS_INSTALL; }### Answer:
@Test public void testConvertPdf2Tiff() throws Exception { logger.info("convertPdf2Tiff"); File inputPdfFile = new File(this.TEST_RESOURCES_DATA_PATH, "eurotext.pdf"); File result = PdfUtilities.convertPdf2Tiff(inputPdfFile); result.deleteOnExit(); assertTrue(result.exists()); }