UUID reference1 = localScope.register(url1,
new HashMap<String, String>());
String serviceType = "service:http";
assertEquals(url1, localScope.getServiceReference(serviceType).getUrl());
localScope.register(url2, new HashMap<String, String>());
List<ServiceReference> references = localScope.getServiceReferences(serviceType,
"");
assertNotNull(references);
assertEquals(2, references.size());
Set<ServiceURL> urls = new HashSet<ServiceURL>();