DefaultWebApplicationServer implements HttpServerProcessor, WebApplicationServer { @Override public WebApplicationServerRequestMapper getRequestMapper() { return requestMapper; } DefaultWebApplicationServer(); void addMapping(String servletContextName, String contextPath); @Override void addWebApplication(WebApplication webApplication); WebApplicationServerResponse createResponse(HttpServerResponse httpResponse); @Override WebApplicationServerRequestMapper getRequestMapper(); @Override void initialize(); @Override boolean process(HttpServerRequest request, HttpServerResponse response); @Override void service(WebApplicationServerRequest request, WebApplicationServerResponse response); @Override void setRequestMapper(WebApplicationServerRequestMapper requestMapper); @Override void start(); @Override void stop();  }
@Test void testGetRequestMapper() { DefaultWebApplicationServer server = new DefaultWebApplicationServer(); server.setRequestMapper(new DefaultWebApplicationServerRequestMapper()); assertNotNull(server.getRequestMapper()); }