### Question:
MobileRemoteServiceServlet extends RemoteServiceServlet { public static final String extractModuleName(String moduleBaseURL) { if (moduleBaseURL == null) { return null; } else if (moduleBaseURL.length() == 0) { return ""; } else { if (moduleBaseURL.endsWith("/")) { moduleBaseURL = moduleBaseURL.substring(0, moduleBaseURL.length() - 1); } if (moduleBaseURL.lastIndexOf("/") > 0) { final int lastSlash = moduleBaseURL.lastIndexOf("/"); return moduleBaseURL.substring(lastSlash + 1, moduleBaseURL.length()); } return moduleBaseURL; } } MobileRemoteServiceServlet();  MobileRemoteServiceServlet(boolean isJsonp); static final String extractModuleName(String moduleBaseURL); @Override String processCall(String payload); static final String RPC_PAYLOAD_PARAM; static final String CALLBACK_PARAM; }### Answer:
@Test public void testExtractModuleName() throws Exception { final String andoidPhoneGapURL = "file: assertEquals("mvgfahrplan", MobileRemoteServiceServlet.extractModuleName(andoidPhoneGapURL)); }