@Test public void scheduleExperimentSuite () { Experiment experiment1 = mock(Experiment.class); Experiment experiment2 = mock(Experiment.class); ExperimentSuite experimentSuite = new ExperimentSuite("firstPlatform", ExperimentSuite.fromMap(Map.of("aggregator", List .of("delete", "restart")))); doReturn(Stream.of(experiment1, experiment2)).when(experimentManager) .createSpecificExperiments(firstPlatform, new ExperimentSuite.ExperimentCriteria("aggregator", List .of("delete", "restart"), Collections.emptyList()), 1); assertThat(experimentManager.scheduleExperimentSuite(experimentSuite), containsInAnyOrder(experiment1, experiment2)); }
Collection<Experiment> scheduleExperimentSuite (ExperimentSuite experimentSuite) { return scheduleExperimentSuite(experimentSuite, 1); }
ExperimentManager { Collection<Experiment> scheduleExperimentSuite (ExperimentSuite experimentSuite) { return scheduleExperimentSuite(experimentSuite, 1); } }
ExperimentManager { Collection<Experiment> scheduleExperimentSuite (ExperimentSuite experimentSuite) { return scheduleExperimentSuite(experimentSuite, 1); }  }
ExperimentManager { Collection<Experiment> scheduleExperimentSuite (ExperimentSuite experimentSuite) { return scheduleExperimentSuite(experimentSuite, 1); }  void setExperimentBackoffPeriod(Duration experimentBackoffPeriod); boolean areExperimentsInProgress(); }
ExperimentManager { Collection<Experiment> scheduleExperimentSuite (ExperimentSuite experimentSuite) { return scheduleExperimentSuite(experimentSuite, 1); }  void setExperimentBackoffPeriod(Duration experimentBackoffPeriod); boolean areExperimentsInProgress();  }