@Test public void testServiceURLInteractionWithProActiveFileName() throws UnknownProtocolException, URISyntaxException, FileSystemException { final String serverURL = "rmi://hostname.com:3232/service"; final String vfsURL = ProActiveFileName.getServerVFSRootURL(serverURL); assertEquals(serverURL, parseURI(vfsURL).getServerURL()); }