props.put("contextMatchStrategy", "stem");
sf.setProperties(props);
ServerImpl svr = (ServerImpl) sf.create();
URIMapper mapper = (URIMapper) svr.getEndpoint().getService().get(URIMapper.class.getName());
assertNotNull(mapper);
BindingOperationInfo bop = mapper.getOperation("/customers", "GET", null);
assertNotNull(bop);
assertEquals("getCustomers", bop.getName().getLocalPart());
bop = mapper.getOperation("/customers", "POST", null);
assertNotNull(bop);
assertEquals("addCustomer", bop.getName().getLocalPart());
bop = mapper.getOperation("/customers/123", "GET", null);
assertNotNull(bop);
assertEquals("getCustomer", bop.getName().getLocalPart());
bop = mapper.getOperation("/customers/123", "PUT", null);
assertNotNull(bop);
assertEquals("updateCustomer", bop.getName().getLocalPart());
bop = mapper.getOperation("/customers/details/123", "GET", null);
assertNotNull(bop);
assertEquals("getSomeDetails", bop.getName().getLocalPart());
// TEST POST/GETs