DDMRESTDataProvider implements DDMDataProvider { protected String buildURL( DDMDataProviderRequest ddmDataProviderRequest, DDMRESTDataProviderSettings ddmRESTDataProviderSettings) { Map<String, String> pathParameters = getPathParameters( ddmDataProviderRequest, ddmRESTDataProviderSettings); String url = ddmRESTDataProviderSettings.url(); for (Map.Entry<String, String> pathParameter : pathParameters.entrySet()) { url = StringUtil.replaceFirst( url, String.format("{%s}", pathParameter.getKey()), HtmlUtil.escapeURL(pathParameter.getValue())); } return url; }  @Override DDMDataProviderResponse getData(
			DDMDataProviderRequest ddmDataProviderRequest); @Override Class<?> getSettings();  }
@Test public void testBuildURL() { String url = _ddmRESTDataProvider.buildURL( _createDDMDataProviderRequest(), _createDDMRESTDataProviderSettings()); Assert.assertEquals( "http: }