@Test public void testSavesAndRetrievesTemplate() throws Exception { UriTemplate template = new UriTemplate("/test/{name}/{id}"); BaseRule rule = new FooRule(template); assertEquals(template, rule.getTemplate()); }
protected final UriTemplate getTemplate() { return template; }
BaseRule implements UriRule { protected final UriTemplate getTemplate() { return template; } }
BaseRule implements UriRule { protected final UriTemplate getTemplate() { return template; } BaseRule(final UriTemplate template); }
BaseRule implements UriRule { protected final UriTemplate getTemplate() { return template; } BaseRule(final UriTemplate template);  }
BaseRule implements UriRule { protected final UriTemplate getTemplate() { return template; } BaseRule(final UriTemplate template);   }