PrefixPathMapping extends AbstractPathMapping { @Override public Set<String> paramNames() { return ImmutableSet.of(); } PrefixPathMapping(String prefix, boolean stripPrefix); @Override Set<String> paramNames(); @Override String patternString(); @Override RoutePathType pathType(); @Override List<String> paths(); @Override int hashCode(); @Override boolean equals(@Nullable Object obj); @Override String toString();  }
@Test void pathParams() { final PrefixPathMapping prefixPathMapping = new PrefixPathMapping("/bar/baz", true); assertThat(prefixPathMapping.paramNames()).isEmpty(); }