### Question:
RepositoryDelegateFactory { public static boolean acceptUrl( String url ) { return (getUrlOption(url) > 0 ? true : false); }  static RepositoryDelegate createRepositoryDelegate( String url,
                                                               Properties info,
                                                               JcrContextFactory contextFactory ); static boolean acceptUrl( String url );  }### Answer:
@Test public void shouldAcceptValidURL() { assertThat(RepositoryDelegateFactory.acceptUrl(VALID_JNDI_URL_WITH_PARMS), is(true)); assertThat(RepositoryDelegateFactory.acceptUrl(VALID_JNDI_URL), is(true)); }