### Question:
ChaosRefreshManager implements RefreshManager { @Override public Collection<String> doRefresh () { log.debug("Refresh of Spring Properties initiated"); return refreshEndpoint.refresh(); }  @Override Collection<String> doRefresh(); @Override boolean doRestart();  }### Answer:
@Test public void doRefresh () { doReturn(Set.of("beans", "more beans")).when(refreshEndpoint).refresh(); Collection<String> strings = refreshManager.doRefresh(); assertThat(strings, containsInAnyOrder("beans", "more beans")); verify(refreshEndpoint, atLeastOnce()).refresh(); }