@SuppressWarnings("unchecked") @Test public void testGetPIXAddReqObject_Throws_JAXBException() throws JAXBException, IOException, URISyntaxException { String expectedItVersion = "XML_1.0"; String xmlString = FileUtils.readFileToString(new File(getClass() .getClassLoader() .getResource("xml/PRPA_IN201301UV02_PIXADD_VD1_Req.xml") .toURI())); when(marshaller.unmarshalFromXml(PRPAIN201301UV02.class, xmlString)) .thenThrow(JAXBException.class); thrown.expect(JAXBException.class); PRPAIN201301UV02 pRPAIN201301UV02 = cstl.getPIXAddReqObject(xmlString, encodeString); String actualItversion = pRPAIN201301UV02.getITSVersion(); assertEquals(expectedItVersion, actualItversion); }
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);  }