@Test public void testGetPIXAddReqObject_by_ValidDomainXMLFile() throws JAXBException, IOException { String expectedItVersion = "XML_1.0"; String expectedFirstName = "WILMA"; PRPAIN201301UV02 pRPAIN201301UV02 = cstl.getPIXAddReqObject( "xml/PRPA_IN201301UV02_PIXADD_VD1_Req.xml", encodeString); String actualItversion = pRPAIN201301UV02.getITSVersion(); JXPathContext context = JXPathContext.newContext(pRPAIN201301UV02); String actualFirstName = (String) context .getValue("controlActProcess/subject[1]/registrationEvent/subject1/patient/patientPerson/value/name[1]/content[2]/value/content"); assertEquals(expectedItVersion, actualItversion); assertEquals(expectedFirstName, actualFirstName); }
public PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath, String encodeString) throws JAXBException, IOException { PRPAIN201301UV02 reqObj = null; reqObj = getPIXReqObject(PRPAIN201301UV02.class, reqXMLFilePath); return reqObj; }
PixManagerRequestXMLToJava { public PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath, String encodeString) throws JAXBException, IOException { PRPAIN201301UV02 reqObj = null; reqObj = getPIXReqObject(PRPAIN201301UV02.class, reqXMLFilePath); return reqObj; } }
PixManagerRequestXMLToJava { public PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath, String encodeString) throws JAXBException, IOException { PRPAIN201301UV02 reqObj = null; reqObj = getPIXReqObject(PRPAIN201301UV02.class, reqXMLFilePath); return reqObj; } PixManagerRequestXMLToJava();  PixManagerRequestXMLToJava(SimpleMarshaller marshaller); }
PixManagerRequestXMLToJava { public PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath, String encodeString) throws JAXBException, IOException { PRPAIN201301UV02 reqObj = null; reqObj = getPIXReqObject(PRPAIN201301UV02.class, reqXMLFilePath); return reqObj; } PixManagerRequestXMLToJava();  PixManagerRequestXMLToJava(SimpleMarshaller marshaller); PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath,
			String encodeString); PRPAIN201302UV02 getPIXUpdateReqObject(String reqXMLFilePath,
			String encodeString); PRPAIN201309UV02 getPIXQueryReqObject(String reqXMLFilePath,
			String encodeString); }
PixManagerRequestXMLToJava { public PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath, String encodeString) throws JAXBException, IOException { PRPAIN201301UV02 reqObj = null; reqObj = getPIXReqObject(PRPAIN201301UV02.class, reqXMLFilePath); return reqObj; } PixManagerRequestXMLToJava();  PixManagerRequestXMLToJava(SimpleMarshaller marshaller); PRPAIN201301UV02 getPIXAddReqObject(String reqXMLFilePath,
			String encodeString); PRPAIN201302UV02 getPIXUpdateReqObject(String reqXMLFilePath,
			String encodeString); PRPAIN201309UV02 getPIXQueryReqObject(String reqXMLFilePath,
			String encodeString);  }