Map<String, ResourceModel> pathRootResourceMap =
buildResourceModels(StatusCollectionResource.class,
RepliesCollectionResource.class);
_router = new RestLiRouter(pathRootResourceMap);
RestRequest request = createRequest(uri, "POST", version);
RoutingResult result = _router.process(request, new RequestContext());
assertNotNull(result);
assertEquals(result.getResourceMethod().getActionName(), "replyToAll");
assertEquals(result.getResourceMethod().getType(), ResourceMethod.ACTION);
assertEquals(result.getContext().getPathKeys().get("statusID"), 1L);