String methodName,
boolean hasBatchKeys,
String... expectedPathKeys)
throws URISyntaxException
{
RestRequestBuilder builder = createRequestBuilder(uri, httpMethod, version);
if (restliMethod != null)
{
builder.setHeader("X-RestLi-Method", restliMethod);
}
RestRequest request = builder.build();
RoutingResult result = _router.process(request, new RequestContext());
assertEquals(result.getResourceMethod().getType(), method);
assertEquals(result.getResourceMethod().getResourceModel().getResourceClass(), resourceClass);
assertEquals(result.getResourceMethod().getMethod().getName(), methodName);