### Question:
URLParser { static String getRelativeLogFile(final String uri) { String fileName = uri.substring(uri.indexOf(Command.LOG_VIEW) + Command.LOG_VIEW.length()); while (fileName.startsWith("/")) { fileName = fileName.substring(1); } return fileName; }  static String logFileNamefromURI(String uri); static String fileNamefromURI(final String uri); static String scriptFileNamefromURI(final String uri, final String token); static String getCommandFromUri(final String uri, String initialToken);  }### Answer:
@Test public void testGetRelativeLogFile() { assertEquals("a/b/c", URLParser.getRelativeLogFile("/_s_/dyn/" + Command.LOG_VIEW + "/a/b/c")); assertEquals("a/b/c", URLParser.getRelativeLogFile("/_s_ }