### Question:
PathUtils { public static String normalize(String path) { String normalizedPath = path; while (normalizedPath.indexOf(DOUBLE_SLASH) > -1) { normalizedPath = StringUtils.replace(normalizedPath, DOUBLE_SLASH, SLASH); } return normalizedPath; }  static String normalize(String path); static String removeHeadSlash(String path); static final String SLASH; static final String DOUBLE_SLASH; }### Answer:
@Test public void testNormalize() { Assert.assertEquals("/", normalize(" Assert.assertEquals("/", normalize(" Assert.assertEquals("/abc/", normalize("/abc }