*/
public class PathTemplateTest {
@Test
public void testBasicOperations() throws Exception {
PathTemplate tmpl = new PathTemplate("/{id : \\d+}/test");
assertEquals(
"getNumberOfTemplateVariables() returned invalid number",
1,
tmpl.getNumberOfTemplateVariables()
);
assertEquals(
"getNumberOfExplicitRegexes() returned invalid number",
1,
tmpl.getNumberOfExplicitRegexes()
);
}