InspireValidatorUtils { public String getReportUrl(String endPoint, String testId) { return endPoint + TestRuns_URL + "/" + testId + ".html"; } InspireValidatorUtils(); String getDefaultTestSuite(); void setDefaultTestSuite(String defaultTestSuite); void setTestsuites(Map<String, String[]> testsuites); Map getTestsuites(); void setTestsuitesConditions(Map<String, String> testsuitesConditions); Map getTestsuitesConditions(); Integer getMaxNumberOfEtfChecks(); void setMaxNumberOfEtfChecks(Integer maxNumberOfEtfChecks); Long getIntervalBetweenEtfChecks(); void setIntervalBetweenEtfChecks(Long intervalBetweenEtfChecks); boolean checkServiceStatus(ServiceContext context, String endPoint); boolean isReady(ServiceContext context, String endPoint, String testId); String isPassed(ServiceContext context, String endPoint, String testId); String getReportUrl(String endPoint, String testId); static String getReportUrlJSON(String endPoint, String testId); static String getReportUrlXML(String endPoint, String testId); String submitFile(ServiceContext context, String serviceEndpoint, InputStream record, String testsuite, String testTitle); String retrieveReport(ServiceContext context, String endPoint); void waitUntilReady(ServiceContext context, String endPoint, String testId); MetadataValidationStatus calculateValidationStatus(String validationStatus); Map<String, String> calculateTestsuitesToApply(String schemaid, IMetadataSchemaUtils metadataSchemaUtils); final static String TEST_STATUS_PASSED; final static String TEST_STATUS_FAILED; final static String TEST_STATUS_PASSED_MANUAL; final static String TEST_STATUS_UNDEFINED; final static String TEST_STATUS_NOT_APPLICABLE; final static String TEST_STATUS_INTERNAL_ERROR; @Value("#{validatorAdditionalConfig['defaultTestSuite']}")
    public String defaultTestSuite; }
@Test public void testGetReportUrl() { String reportUrl = inspireValidatorUtils.getReportUrl(URL, "123"); assertEquals(URL + "/v2/TestRuns/123.html", reportUrl); }