/**
* Test exception when PDF/A-1 is enabled together with encryption.
* @throws Exception if the test fails
*/
public void testNoEncryption() throws Exception {
final FOUserAgent ua = getUserAgent();
ua.getRendererOptions().put("owner-password", "mypassword"); //To enabled encryption
File foFile = new File(foBaseDir, "minimal-pdf-a.fo");
try {
convertFO(foFile, ua, dumpPDF);
fail("Expected PDFConformanceException. PDF/A-1 and PDF encryption don't go together.");
} catch (PDFConformanceException e) {