private static void mustFail(String glob, String... paths) {
        final Route route = glob(glob);
        for (String p : paths) {
            if (route.apply(create(p), false).isPresent()) {
                fail('\'' + p + "' matches '" + glob + "' or '" + route.paths().get(0) + "'.");
            }
        }
    }
");
        assertThat(route.paramNames()).containsExactly("0");
        assertThat(route.apply(create("/foo/bar/baz"), false).pathParams())
                .containsEntry("0", "bar/baz")
                .hasSize(1);
        assertThat(route.apply(create("/foo/"), false).pathParams())
                .containsEntry("0", "")
                .hasSize(1);

        route = glob("/*
core/src/test/java/com/linecorp/armeria/server/GlobPathMappingTest.java