class PlatformManager {

    public Optional<Platform> getNextPlatformForExperiment (boolean force) {
        return getPlatforms().stream()
                             .sorted(comparingLong(platform -> platform.getNextChaosTime().toEpochMilli()))
                             .filter(platform1 -> force || platform1.canExperiment())
                             .filter(Platform::hasEligibleContainersForExperiments)
                             .findFirst();
    }

    @Autowired  PlatformManager();
      PlatformManager(Collection<Platform> platforms);

}