@Test public void shouldNotAcceptInvalidURL() { assertThat(factory().acceptUrl(INVALID_URL), is(false)); }
public boolean acceptUrl( String url ) { return !StringUtil.isBlank(url) && determineProtocol(url.trim()) > 0; }
RepositoryDelegateFactory { public boolean acceptUrl( String url ) { return !StringUtil.isBlank(url) && determineProtocol(url.trim()) > 0; } }
RepositoryDelegateFactory { public boolean acceptUrl( String url ) { return !StringUtil.isBlank(url) && determineProtocol(url.trim()) > 0; } protected  RepositoryDelegateFactory(); }
RepositoryDelegateFactory { public boolean acceptUrl( String url ) { return !StringUtil.isBlank(url) && determineProtocol(url.trim()) > 0; } protected  RepositoryDelegateFactory(); RepositoryDelegate createRepositoryDelegate( String url,
                                                        Properties info,
                                                        JcrContextFactory contextFactory ); boolean acceptUrl( String url ); }
RepositoryDelegateFactory { public boolean acceptUrl( String url ) { return !StringUtil.isBlank(url) && determineProtocol(url.trim()) > 0; } protected  RepositoryDelegateFactory(); RepositoryDelegate createRepositoryDelegate( String url,
                                                        Properties info,
                                                        JcrContextFactory contextFactory ); boolean acceptUrl( String url );  }