final Response actionInvokeResp = domainObjectResource.invokeAction("OID:1", "list", body.asInputStream());
final RestfulResponse<ScalarValueRepresentation> actionInvokeJsonResp = RestfulResponse.ofT(actionInvokeResp);
assertThat(actionInvokeJsonResp.getStatus().getFamily(), is(Family.SUCCESSFUL));
// then
final ScalarValueRepresentation actionInvokeRepr = actionInvokeJsonResp.getEntity();
assertThat(actionInvokeRepr.isArray(), is(true));
assertThat(actionInvokeRepr.size(), is(5));
final JsonRepresentation domainObjectRefRepr = actionInvokeRepr.arrayGet(0);
assertThat(domainObjectRefRepr, is(not(nullValue())));
assertThat(domainObjectRefRepr.getString("title"), is("Untitled Applib Values Entity")); // TODO
final LinkRepresentation domainObjectLink = domainObjectRefRepr.getLink("link");