LinkManager { public abstract List<URI> listURIs();  static LinkManager getInstance(); static String extractNameFromURI(URI uri); static URI replaceName(URI uri, String name); abstract Configurer getConfigurer(URI uri); abstract List<URI> listURIs();  }
@Test public void aliasNameNotListed() throws Exception { withRegistered(new AliasUsingLinkFactory()).execute(new Statement() { @Override public void execute() { List<URI> listURIs = sut.listURIs(); assertThat(listURIs, hasItem(aliasUri())); assertThat(listURIs, not(hasItem(newURI("ardulink: } }); }