MemoryMailRepositoryStore implements MailRepositoryStore, Startable { @Override public Stream<MailRepositoryUrl> getUrls() { return urlStore.listDistinct(); } @Inject  MemoryMailRepositoryStore(MailRepositoryUrlStore urlStore, MailRepositoryLoader mailRepositoryLoader, MailRepositoryStoreConfiguration configuration); @Override Optional<Protocol> defaultProtocol(); void init(); @Override Stream<MailRepositoryUrl> getUrls(); @Override Optional<MailRepository> get(MailRepositoryUrl url); @Override Stream<MailRepository> getByPath(MailRepositoryPath path); @Override MailRepository select(MailRepositoryUrl mailRepositoryUrl);  }
@Test public void getUrlsShouldBeEmptyIfNoSelectWerePerformed() { assertThat(repositoryStore.getUrls()).isEmpty(); }