### Question:
ExperimentManager { @Scheduled(fixedDelay = 1000 * 15) void scheduleExperiments () { if (automatedMode) { scheduleExperiments(false); } }  void setExperimentBackoffPeriod(Duration experimentBackoffPeriod); boolean areExperimentsInProgress();  }### Answer:
@Test public void scheduleExperiments () { ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); doReturn(Collections.emptySet()).when(experimentManager).scheduleExperiments(captor.capture()); experimentManager.scheduleExperiments(); assertThat(captor.getValue(), is(false)); }