SimplePathPattern implements PathPattern { public String raw() { return pattern; } SimplePathPattern(String pattern); List<PathParamName> varNames(); boolean matches(String path); Path match(String path); String raw();  }
@Test public void returnsRawPath(){ PathPattern p = new SimplePathPattern("/house/{apple*}"); assertEquals("/house/{apple*}", p.raw()); }