@Test
void testService3() throws Exception {

    NanoPiranha piranha = new NanoPiranhaBuilder()
            .directoryResource("src/test/jsp")
            .servlet("JSP Servlet", new JspServlet())
            .servletInitParam("JSP Servlet", "classpath", System.getProperty("jdk.module.path") +
                    System.getProperty("path.separator") +
                    System.getProperty("java.class.path"))
            .servletInitParam("JSP Servlet", "compilerSourceVM", "1.8")
            .servletInitParam("JSP Servlet", "compilerTargetVM", "1.8")
            .build();
    NanoRequest request = new NanoRequestBuilder()
            .method("GET")
            .servletPath("/date.jsp")
            .build();
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    NanoResponse response = new NanoResponseBuilder()
            .outputStream(outputStream)
            .build();
    piranha.service(request, response);
    assertTrue(outputStream.toString().contains("Date = "));
}