Petals-BC-REST 1.1.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
public void nominal() throws Exception {
assertJBIOutResponse("get-metadata-expected-nominal-response.xml", OPERATION_UNDER_TEST,
HttpStatus.OK_200, HttpStatus.getCode(HttpStatus.OK_200).getMessage(), "get-metadata-nominal-http-body.json",
MediaType.APPLICATION_JSON_TYPE, null);
}

assertJBIFault("get-metadata-expected-fault-unexisting-document.xml", OPERATION_UNDER_TEST,
HttpStatus.NOT_FOUND_404, HttpStatus.getCode(HttpStatus.NOT_FOUND_404).getMessage(), null, null, "get-metadata-by-json-request.xml", null);
}
}