assertEquals(HeaderTesterUtil.OUT_RESPONSE_TYPE, inHeaderResponse.getResponseType());
}
protected void verifyInOutHeaderParts(HeaderTester ht) {
getLogger().debug("Client: calling inoutHeader");
InoutHeaderT inoutHeader = new InoutHeaderT();
inoutHeader.setRequestType(HeaderTesterUtil.INOUT_REQUEST_TYPE_IN);
HeaderInfo headerInfo = new HeaderInfo();
headerInfo.setMessage(HeaderTesterUtil.INOUT_MESSAGE_IN);
headerInfo.setOriginator(HeaderTesterUtil.INOUT_ORIGINATOR_IN);
Holder<HeaderInfo> holder = new Holder<HeaderInfo>();
holder.value = headerInfo;
InoutHeaderResponseT inoutHeaderResponse = ht.inoutHeader(inoutHeader, holder);
assertEquals(HeaderTesterUtil.INOUT_REQUEST_TYPE_OUT,
inoutHeaderResponse.getResponseType());
assertNotSame(HeaderTesterUtil.INOUT_REQUEST_TYPE_OUT,
inoutHeader.getRequestType());
assertEquals(HeaderTesterUtil.INOUT_MESSAGE_OUT, holder.value.getMessage());
assertEquals(HeaderTesterUtil.INOUT_ORIGINATOR_OUT, holder.value.getOriginator());
}