assertThat(jsonResp.getStatus().getFamily(), is(Family.SUCCESSFUL));
// then
assertThat(jsonResp.getStatus(), is(HttpStatusCode.OK));
final UserRepresentation repr = jsonResp.getEntity();
assertThat(repr, is(not(nullValue())));
assertThat(repr.isMap(), is(true));
assertThat(repr.getSelf(), isLink(client).httpMethod(HttpMethod.GET));
assertThat(repr.getUserName(), is(not(nullValue())));
assertThat(repr.getFriendlyName(), is(nullValue())); // TODO: change
// fixture so
// populated
assertThat(repr.getEmail(), is(nullValue())); // TODO: change fixture so
// populated
assertThat(repr.getRoles(), is(not(nullValue()))); // TODO: change
// fixture so have
// non-empty list
assertThat(repr.getLinks(), isArray());
assertThat(repr.getExtensions(), isMap());
}