public String getAtom(@Context LinkBuilders builders) {
List<SyndLink> links = new ArrayList<SyndLink>();
SingleLinkBuilder builder =
builders.createSingleLinkBuilder().resource(SingleLinkWithPathParamResource.class);
builder.pathParam("id", "1").build(links);
assertEquals(1, links.size());
assertLink(links, null, null, "1");
links.clear();
builder.subResource("a/{subId}/b").pathParam("subId", "2").build(links);