### Question:
SearchableRepositorySource implements RepositorySource { public void close() { this.delegate.close(); } SearchableRepositorySource( RepositorySource wrapped,
                                       SearchEngine searchEngine,
                                       ExecutorService executorService,
                                       boolean executeAsynchronously,
                                       boolean updateIndexesAsynchronously );  SearchableRepositorySource( RepositorySource wrapped,
                                       SearchEngine searchEngine ); String getName(); void close(); RepositorySourceCapabilities getCapabilities(); RepositoryConnection getConnection(); int getRetryLimit(); void initialize( final RepositoryContext context ); void setRetryLimit( int limit ); Reference getReference();  }### Answer:
@Test public void shouldCloseByClosingWrappedSource() { wrapped = mock(RepositorySource.class); searchable = newSynchronousSearchable(); searchable.close(); verify(wrapped, times(1)).close(); }