@Test
public void testCreateJsonApiException() {

	WebApplicationException exception = AbstractApi.createJsonApiException(MESSAGE, Response.Status.fromStatusCode(ERRCODE_VALID));
	JsonNode result = TestUtils.extractJsonEntity(exception.getResponse());
	assertHasValidErrorObj(result);
	assertExcDocHasValues(result, COMBINED_MESSAGE, ERRCODE_VALID);
}