SimpleReportXmlDefiner { public static Templates getPdfTemplates() throws TransformerConfigurationException, IOException { if (pdfTemplates == null) { pdfTemplates = loadTemplates(SIMPLE_REPORT_XSLT_PDF_LOCATION); } return pdfTemplates; } private  SimpleReportXmlDefiner(); static JAXBContext getJAXBContext(); static Schema getSchema(); static Templates getHtmlBootstrap3Templates(); static Templates getHtmlBootstrap4Templates(); static Templates getPdfTemplates(); static final ObjectFactory OBJECT_FACTORY; }
@Test public void getPdfTemplates() throws IOException, TransformerConfigurationException { Templates htmlTemplates = SimpleReportXmlDefiner.getPdfTemplates(); assertNotNull(htmlTemplates); assertNotNull(htmlTemplates.newTransformer()); assertNotNull(SimpleReportXmlDefiner.getPdfTemplates()); }