}
@Test
public void testNakExpressionWithParameters() throws Exception {
ADT_A01 a01 = createADT01Message();
ACK ack = template.requestBody("direct:test4", a01, ACK.class);
assertEquals("AR", ack.getMSA().getAcknowledgementCode().getValue());
assertEquals(a01.getMSH().getMessageControlID().getValue(), ack.getMSA().getMessageControlID()
.getValue());
assertEquals(String.valueOf(ErrorCode.APPLICATION_INTERNAL_ERROR.getCode()), ack.getERR()
.getErrorCodeAndLocation(0).getCodeIdentifyingError().getIdentifier().getValue());
assertEquals("Problem!", ack.getERR().getErrorCodeAndLocation(0).getCodeIdentifyingError()
.getAlternateText().getValue());
}