public void actionPrompt() throws Exception {
// given
final DomainObjectResource domainObjectResource = client.getDomainObjectResource();
// when
final Response actionPromptResp = domainObjectResource.actionPrompt("OID:1", "list");
final RestfulResponse<ObjectActionRepresentation> actionPromptJsonResp = RestfulResponse.ofT(actionPromptResp);
assertThat(actionPromptJsonResp.getStatus().getFamily(), is(Family.SUCCESSFUL));
// then
final ObjectActionRepresentation actionPromptRepr = actionPromptJsonResp.getEntity();