public RouteResult<T> route(HttpMethod method, String path) {
        return route(method, path, Collections.emptyMap());
    }
@Test
    void testAnyMethod() {
        RouteResult<String> routed1 = router.route(GET, "/anyMethod");
        assertThat(routed1.target()).isEqualTo("anyMethod");
        assertThat(routed1.pathParams()).isEmpty();

        RouteResult<String> routed2 = router.route(POST, "/anyMethod");
        assertThat(routed2.target()).isEqualTo("anyMethod");
        assertThat(routed2.pathParams()).isEmpty();
    }