public void simpleParameterizedeMatching() {
URITemplate template1 = new URITemplate("widgets/{id}");
Assert.assertEquals("Hello", template1.match(
"widgets/Hello").getParameters().get("id"));
URITemplate template2 = new URITemplate("widgets/{id}/{id2}");
Assert.assertEquals("foo", template2.match(
"widgets/foo/bar").getParameters().get("id"));
Assert.assertEquals("foo", template2.match(
"widgets/foo/bar/ignore").getParameters().get("id"));
SortedSet<URITemplate> set = new TreeSet<URITemplate>();
set.add(template1);