@Override
    public HttpServer bind(URL url, HttpHandler handler) {
        return new TomcatHttpServer(url, handler);
    }
@Test
    void shouldAbleHandleRequestForTomcatBinder() throws Exception {
        int port = NetUtils.getAvailablePort();
        URL url = new ServiceConfigURL(
                "http", "localhost", port, new String[] {Constants.BIND_PORT_KEY, String.valueOf(port)});

        HttpServer httpServer = new TomcatHttpBinder()
                .bind(url, new HttpHandler<HttpServletRequest, HttpServletResponse>() {
                    @Override
                    public void handle(HttpServletRequest request, HttpServletResponse response) throws IOException {
                        response.getWriter().write("Tomcat");
                    }
                });

        String response =
                Request.Get(url.toJavaURL().toURI()).execute().returnContent().asString();

        assertThat(response, is("Tomcat"));

        httpServer.close();
        assertThat(NetUtils.isPortInUsed(port), is(false));
    }