@Test
public void testPathMatch(){
PathMatcher pathMatcher = new AntPathMatcher();
String registeredPath = "/me/hello/{name}";
String url = "/me/hello/renjun";
Assert.assertTrue(pathMatcher.match(registeredPath, url));
Map<String, String> values = pathMatcher.extractUriTemplateVariables(registeredPath, url);
Assert.assertEquals(1, values.size());
Assert.assertEquals("renjun", values.get("name"));