### Question:
URLParser { public static String scriptFileNamefromURI(final String uri, final String token) { int endIndex = uri.indexOf("?"); endIndex = endIndex == -1 ? uri.length() : endIndex; String fileName = uri.substring(uri.lastIndexOf(token) + token.length(), endIndex); return Utils.concatPaths(Configuration.getScriptRoots()[0], 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 @Ignore("FIXME") public void xtestScriptFileNamefromURI() { assertEquals(Configuration.getUserDataDir() + "/scripts/sahi_demo_include.sah", URLParser.scriptFileNamefromURI(uri, "/Log_highlight/")); }
@Test @Ignore("FIXME") public void xtestScriptFileNamefromURI2() { final String uri2 = "/_s_/dyn/scripts/sahi_demo_include.sah?n=2"; assertEquals(Configuration.getUserDataDir() + "/scripts/sahi_demo_include.sah", URLParser.scriptFileNamefromURI(uri2, "/scripts/")); }