Oadr20bVENEiReportService { public OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig, OadrUpdateReportType oadrUpdateReportType) { String requestID = oadrUpdateReportType.getRequestID(); return Oadr20bEiReportBuilders.newOadr20bUpdatedReportBuilder(requestID, Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId()) .build(); }  OadrRegisterReportType selfOadrRegisterReport(String requestId, String venId, String reportRequestId); OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
			OadrUpdateReportType oadrUpdateReportType); OadrRegisteredReportType oadrRegisterReport(VtnSessionConfiguration vtnConfig,
			OadrRegisterReportType oadrRegisterReportType); OadrCreatedReportType oadrCreateReport(VtnSessionConfiguration vtnConfig,
			OadrCreateReportType oadrCreateReportType); void oadrCreatedReport(VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType); OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig,
			OadrCancelReportType oadrCancelReportType); Object handle(VtnSessionConfiguration multiConfig, OadrPayload oadrPayload); String request(String username, String payload);  }
@Test public void oadrUpdateReportTest() throws Oadr20bApplicationLayerException, Oadr20bMarshalException, Oadr20bUnmarshalException, Oadr20bXMLSignatureValidationException, Oadr20bXMLSignatureException, OadrSecurityException { String reportId = ""; String reportrequestId = ""; String reportSpecifierId = ""; ReportNameEnumeratedType reportName = ReportNameEnumeratedType.METADATA_HISTORY_GREENBUTTON; long createdTimestamp = 0L; Long startTimestamp = 0L; String duration = "PT1S"; OadrReportType report = Oadr20bEiReportBuilders.newOadr20bUpdateReportOadrReportBuilder(reportId, reportrequestId, reportSpecifierId, reportName, createdTimestamp, startTimestamp, duration).build(); OadrUpdateReportType oadrUpdateReport = Oadr20bEiReportBuilders .newOadr20bUpdateReportBuilder("", venConfig.getVenId()).addReport(report) .addReport(Lists.newArrayList(report)).build(); String request = oadr20bVENEiReportService.request(vtnHttpId, oadr20bJAXBContext.marshalRoot(oadrUpdateReport)); OadrUpdatedReportType resp = oadr20bJAXBContext.unmarshal(request, OadrUpdatedReportType.class); assertNotNull(resp); assertEquals(resp.getEiResponse().getResponseCode(), String.valueOf(Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453)); }