@Test
void testOnStartup() throws Exception {

    DefaultWebApplication servletContext = new DefaultWebApplication();
    servletContext.addResource(new DirectoryResource(new File("src/test/webapp/webapp1")));
    JasperInitializer initializer = new JasperInitializer();
    initializer.onStartup(new HashSet<>(), servletContext);
}