@Test
void testService() throws Exception {

    NanoPiranha piranha = new NanoPiranhaBuilder()
            .servlet("TestHelloWorldServlet", new TestHelloWorldServlet())
            .build();
    NanoRequest request = new NanoRequestBuilder()
            .method("GET")
            .servletPath("/index.html")
            .build();
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    NanoResponse response = new NanoResponseBuilder()
            .outputStream(outputStream)
            .build();
    piranha.service(request, response);
    assertEquals("Hello World", outputStream.toString());
}