package seedu.address.commons.util;

import java.io.FileNotFoundException;

import org.junit.Test;

import com.itextpdf.kernel.pdf.PdfDocument;
import com.itextpdf.kernel.pdf.PdfWriter;
import com.itextpdf.layout.Document;
import com.itextpdf.layout.element.Paragraph;

/**
 * Test util for exporting to pdf
 */
public class PdfUtilTest {

    @Test
    public void testPDFExport() throws FileNotFoundException {
        PdfWriter writer = new PdfWriter("C:\\Desktop\\Test.pdf");
        PdfDocument pdf = new PdfDocument(writer);
        Document document = new Document(pdf);
        document.add(new Paragraph("Hello World!"));
        document.close();
    }
}

@@ -452,22 +452,9 @@
 er(%22
-C:%5C%5CDesktop%5C%5CT
+t
 est.

Add testcase for TestPDF