MulticastRegistryFactory extends AbstractRegistryFactory { @Override public Registry createRegistry(URL url) { return new MulticastRegistry(url); }  @Override Registry createRegistry(URL url);  }
@Test public void shouldCreateRegistry() { Registry registry = new MulticastRegistryFactory().createRegistry(URL.valueOf("multicast: assertThat(registry, not(nullValue())); assertThat(registry.isAvailable(), is(true)); }