*/
@Test
public void usage() throws MalformedURLException {
/* We retrieve an instance of the registry: */
ServiceRegistry registry = ServiceRegistryFactory.getServiceRegistry();
registry.clear(); // clear any old local entries
URL endpoint1 = new URL("http://some.dummy.endpoint");
URL endpoint2 = new URL("http://another.dummy.endpoint");
/* We register service descriptions: */
registry
.register(/* new Droid().describe() */new ServiceDescription.Builder(