// in the response to a similar GET request (without the If-None-Match header) on that resource,
// or if "*" is given and any current entity exists for that resource, then the server MUST NOT
// perform the requested method, unless required to do so because the resource's modification date
// fails to match that supplied in an If-Modified-Since header field in the request"
service.setLastModified(DATE_NEW);
final Request request = getRequest(HttpHeaders.IF_MODIFIED_SINCE, DATE_FMT_822.format(DATE_OLD),
HttpHeaders.IF_NONE_MATCH, ETAG_NEW.toString()); // ETags match,
// but resource
// has new date
final Response response = service.perform(request);
Assert.assertEquals(HttpServletResponse.SC_OK, response.getStatus());