@Test
    void patternString() {
        Route route = Route.builder().path("/foo/", "glob:/bar/**").build();
        assertThat(route.patternString()).isEqualTo("/foo/bar/**");

        route = Route.builder().path("/foo/", "glob:bar").build();
        assertThat(route.patternString()).isEqualTo("/foo/**/bar");

        route = Route.builder().path("/foo/", "regex:/(foo|bar)").build();
        assertThat(route.patternString()).isEqualTo("/foo/(foo|bar)");
    }
").build();
        assertThat(route.pathType()).isSameAs(RoutePathType.REGEX);
        assertThat(route.paths()).containsExactly("^/foo/bar/(.*)$", "/foo/bar/**");

        route = Route.builder().path("/foo/", "glob:bar").build();
        assertThat(route.pathType()).isSameAs(RoutePathType.REGEX);
        assertThat(route.paths()).containsExactly("^/foo/(?:.+/)?bar$", "/foo/*
core/src/test/java/com/linecorp/armeria/server/PathWithPrefixTest.java