private OperationMap assertRequestDetails(OperationMap op, ClientHttpRequest request) {
assertNotNull("No request details", op);
URI uri = request.getURI();
HttpMethod method = request.getMethod();
assertEquals("Mismatched method", method.name(), op.get("method", String.class));
assertEquals("Mismatched URI", uri.toString(), op.get(OperationFields.URI, String.class));
assertMethodHeaders("request", op, request.getHeaders());
return op;
}