javaee7-samples
javaee7-samples copied to clipboard
jaxrs resource validation test should check status code not status info for equality
The jax-rs resource-validation test uses an assertion that checks Response.StatusType for equality which may not be standard across implementations. ie reason phrase is not mandated - is that considered as part of the equality check? Should check the statusCode of the expected StatusType versus reponse.getStatusCode() to be more specific.