assertEquals(url.getProtocol(), null);
assertEquals(url.toString(), urlString);
}
public void testServiceURL258252c() throws Exception {
String urlString = "service:test:myservice://localhost/foo/bar#path";
ServiceURL url = new ServiceURL(urlString, 0);
assertEquals(url.getServiceType().toString(), "service:test:myservice");
assertEquals(url.getHost(), "localhost");
assertEquals(url.getPort(), 0);
assertEquals(url.getURLPath(), "/foo/bar#path");
assertEquals(url.getUserInfo(), "");
assertEquals(url.getProtocol(), null);
assertEquals(url.toString(), urlString);
}