JAXBContext jaxbContext = JAXBContext.newInstance(ReceiveMedicalCertificateQuestionType.class);
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
@SuppressWarnings("unchecked")
JAXBElement<ReceiveMedicalCertificateQuestionType> t = (JAXBElement<ReceiveMedicalCertificateQuestionType>) unmarshaller
.unmarshal(is);
AttributedURIType logicalAddress = new AttributedURIType();
logicalAddress.setValue("careUnit1");
ReceiveMedicalCertificateQuestionResponseType response = impl.receiveMedicalCertificateQuestion(logicalAddress,
t.getValue());
assertEquals(ResultCodeEnum.ERROR, response.getResult().getResultCode());