### Question:
URLScript extends SahiScript { String getFQN(final String scriptName) { try { return new URL(new URL(path), scriptName).toString(); } catch (MalformedURLException e) { e.printStackTrace(); } return null; } URLScript(final String url);  URLScript(final String url, final ArrayList<String> parents);   }### Answer:
@Test public void testFQN() { MockURLScript urlScript = new MockURLScript("http: assertEquals("http: }
@Test public void testFQNWithFullURL() { MockURLScript urlScript = new MockURLScript("http: assertEquals("http: }