public RouteResult<T> route(HttpMethod method, String path) {
        return route(method, path, Collections.emptyMap());
    }
@Test
    void testIgnoreSlashesAtBothEnds() {
        assertThat(router.route(GET, "articles").target()).isEqualTo("index");
        assertThat(router.route(GET, "/articles").target()).isEqualTo("index");
        assertThat(router.route(GET, "//articles").target()).isEqualTo("index");
        assertThat(router.route(GET, "articles/").target()).isEqualTo("index");
        assertThat(router.route(GET, "articles//").target()).isEqualTo("index");
        assertThat(router.route(GET, "/articles/").target()).isEqualTo("index");
        assertThat(router.route(GET, "//articles//").target()).isEqualTo("index");
    }