RetentionExpirationExporterController { String getBusinessObjectDefinitionUdcUri(String udcServerHost, String namespace, String businessObjectDefinitionName) throws URISyntaxException, MalformedURLException { URIBuilder uriBuilder = new URIBuilder().setScheme("https").setHost(udcServerHost).setPath(String.format("/data-entities/%s/%s", namespace, businessObjectDefinitionName)); return String.valueOf(uriBuilder.build().toURL()); }    }
@Test public void testGetBusinessObjectDefinitionUdcUri() throws Exception { assertEquals(String.format("https: retentionExpirationExporterController.getBusinessObjectDefinitionUdcUri(UDC_SERVICE_HOSTNAME, NAMESPACE, BUSINESS_OBJECT_DEFINITION_NAME)); assertEquals("https: .getBusinessObjectDefinitionUdcUri(UDC_SERVICE_HOSTNAME, NAMESPACE + ",\"", BUSINESS_OBJECT_DEFINITION_NAME + ",\"")); }