public void testPropogateHeadersTest() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedMessageCount(1);
mock.expectedBodiesReceived("<transformed subject=\"Hey\"><mail><subject>Hey</subject>"
+ "<body>Hello world!</body></mail></transformed>");
mock.expectedHeaderReceived("foo", "bar");
template.sendBodyAndHeader("direct:one",
"<mail><subject>Hey</subject><body>Hello world!</body></mail>", "foo", "bar");
assertMockEndpointsSatisfied();