DDMRESTDataProvider implements DDMDataProvider { protected String normalizePath(String path) { if (StringUtil.startsWith(path, StringPool.DOLLAR) || StringUtil.startsWith(path, StringPool.PERIOD) || StringUtil.startsWith(path, StringPool.STAR)) { return path; } return StringPool.PERIOD.concat(path); }  @Override DDMDataProviderResponse getData(
			DDMDataProviderRequest ddmDataProviderRequest); @Override Class<?> getSettings();  }
@Test public void testNormalizePath() { String normalizePath = _ddmRESTDataProvider.normalizePath("root"); Assert.assertEquals(".root", normalizePath); }
@Test public void testNormalizePathDollar() { String normalizePath = _ddmRESTDataProvider.normalizePath("$contacts"); Assert.assertEquals("$contacts", normalizePath); }
@Test public void testNormalizePathPeriod() { String normalizePath = _ddmRESTDataProvider.normalizePath(".path"); Assert.assertEquals(".path", normalizePath); }