Holder<Image> attach4 = new Holder<Image>();
Holder<Image> attach5 = new Holder<Image>();
attach4.value = ImageIO.read(url4);
attach5.value = ImageIO.read(url5);
VoidRequest request = new VoidRequest();
OutputResponseAll response = port.echoAllAttachmentTypes(request, attach1, attach2, attach3, attach4,
attach5);
assertNotNull(response);
Map<?, ?> map = CastUtils.cast((Map<?, ?>)((BindingProvider)port).getResponseContext()
.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS));