### Question:
PartyStoreFactory implements PartyStore { @Override public Set<URI> getParties() { return delegate.getParties(); } PartyStoreFactory(); protected  PartyStoreFactory(PartyStore delegate); static PartyStore provider(); @Override Set<URI> getParties(); @Override PartyStore store(URI party); @Override PartyStore remove(URI party);  }### Answer:
@Test public void getParties() { partyStoreFactory.getParties(); verify(partyStore).getParties(); }
@Test public void doNotReloadFromConfigIfAtLeastOneConfiguredPeerPresentInPartyStore() { when(partyStore.getParties()).thenReturn(Set.of(URI.create("http: partyStoreFactory.loadFromConfigIfEmpty(); verify(partyStore).getParties(); }