public void testCompileMatchExpand() {
JaxRsUriTemplateProcessor processor = new JaxRsUriTemplateProcessor();
// 1
processor.compile("/path1/{var1}");
UriTemplateMatcher matcher = processor.matcher();
boolean matches = matcher.matches("/path1/abc");
assertTrue(matches);
MultivaluedMap<String, String> values = new MultivaluedMapImpl<String, String>();
values.add("var1", "xyz");
String expanded = processor.expand(values);
assertEquals("/path1/xyz", expanded);