/** Test method for {@link net.sf.memoranda.util.PDFFileExport#createPdf()}. */
 @Test(expected = com.itextpdf.text.ExceptionConverter.class)
 public final void testCreatePdf() throws IOException, DocumentException {
   IPdfHandler testCreatePDF =
       new PDFFileExport(f, testDoc, CurrentNote.get(), enc, false, template, true);
   testCreatePDF.createPdf(f.getAbsolutePath(), XHTML);
 }
 /** Test method for {@link net.sf.memoranda.util.PDFFileExport#XHTMLToPDF()}. */
 @Test(expected = com.itextpdf.text.ExceptionConverter.class)
 public final void testXHTMLToPDF() throws IOException, DocumentException {
   IPdfHandler testXHTMLToPDF =
       new PDFFileExport(f, testDoc, CurrentNote.get(), enc, false, template, true);
   testXHTMLToPDF.xhtmlToPdf(XHTML);
 }