}
@Test
public void xrofollowLinks() throws Exception {
RestfulRequest request;
RestfulResponse<ListRepresentation> restfulResponse;
ListRepresentation repr;
request = client.createRequest(HttpMethod.GET, "services");
restfulResponse = request.executeT();
repr = restfulResponse.getEntity();
assertThat(repr.getValues(), isArray());
assertThat(repr.getValues().size(), is(greaterThan(0)));
assertThat(repr.getValues().arrayGet(0), isLink().novalue());
request = client.createRequest(HttpMethod.GET, "services").withArg(RequestParameter.FOLLOW_LINKS, "values");
restfulResponse = request.executeT();
repr = restfulResponse.getEntity();
assertThat(repr.getValues().arrayGet(0), isLink().value(is(not(Matchers.<JsonRepresentation> nullValue()))));
assertThat(repr.getValues().arrayGet(0).getRepresentation("value"), isMap());
}