}
public void testUnmarshal() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:unmarshal");
mock.expectedMessageCount(1);
mock.message(0).body().isInstanceOf(Message.class);
mock.expectedHeaderReceived("hl7.msh.sendingApplication", "MYSERVER");
mock.expectedHeaderReceived("hl7.msh.sendingFacility", "MYSENDERAPP");
mock.expectedHeaderReceived("hl7.msh.receivingApplication", "MYCLIENT");
mock.expectedHeaderReceived("hl7.msh.receivingFacility", "MYCLIENTAPP");