public void testRoutingSubSimpleResource(String uri, ProtocolVersion version, String httpMethod, ResourceMethod method, String methodName, String[] pathKeys) throws Exception
{
Map<String, ResourceModel> pathRootResourceMap =
buildResourceModels(TrendingResource.class,
TrendRegionsCollectionResource.class);
_router = new RestLiRouter(pathRootResourceMap);
checkResult(uri, version, httpMethod, method, TrendRegionsCollectionResource.class, methodName, false, pathKeys);
}