ExactPathMapping extends AbstractPathMapping { @Override public String patternString() { return exactPath; } ExactPathMapping(String exactPath); @Override Set<String> paramNames(); @Override String patternString(); @Override RoutePathType pathType(); @Override List<String> paths(); @Override int hashCode(); @Override boolean equals(@Nullable Object obj);  }
@Test void patternString() { final ExactPathMapping exactPathMapping = new ExactPathMapping("/foo/bar"); assertThat(exactPathMapping.patternString()).isEqualTo("/foo/bar"); }