@Test
public void testReturnsInputInstance() {

    String path = "/b/c/d/e/f";
    String expr = "/a/b/{c}/d/e";
    PathFilter regexpPathUriFilter = new DefaultPathFilter("XXX", expr);
    String result = regexpPathUriFilter.filter(path);
    assertThat(result, sameInstance(path));
}