final String id = "89531";
Map<String, Object> headers = new HashMap<String, Object>();
headers.put(RestletConstants.RESTLET_LOGIN, "admin");
headers.put(RestletConstants.RESTLET_PASSWORD, "foo");
headers.put("id", id);
<BUG>String response = (String)template.requestBodyAndHeaders(
"direct:start-auth", "<order foo='1'/>", headers);
</BUG>
assertEquals("received [<order foo='1'/>] as an order id = " + id, response);
}

final String id = "89531";
Map<String, Object> headers = new HashMap<String, Object>();
headers.put(RestletConstants.RESTLET_LOGIN, "admin");
headers.put(RestletConstants.RESTLET_PASSWORD, "foo");
headers.put("id", id);
String response = template.requestBodyAndHeaders(
"direct:start-auth", "<order foo='1'/>", headers, String.class);
assertEquals("received [<order foo='1'/>] as an order id = " + id, response);
}
