MinioService { public boolean isValidExperimentID(String experimentID) { logger.info("isValidExperimentID: " + experimentID); String objectName = minioCompatibleID(experimentID) + MINIO_ID_DELIMITER + BenchFlowConstants.PT_PE_DEFINITION_FILE_NAME; try { return Failsafe.with(minioConnectionRetryPolicy).get(() -> { boolean validID = minioClient.bucketExists(TESTS_BUCKET); if (validID) { validID = minioClient.listObjects(TESTS_BUCKET, objectName).iterator().hasNext(); } return validID; }); } catch (Exception e) { logger.error(e.getMessage()); return false; } } MinioService(MinioClient minioClient, int numConnectionRetries); static String minioCompatibleID(String id); void initializeBuckets(); boolean isValidExperimentID(String experimentID); void saveExperimentDefinition(String experimentID, InputStream definitionInputStream); InputStream getExperimentDefinition(String experimentID); void copyExperimentDefintionForDriversMaker(String driversMakerExperimentID,
      long experimentNumber, InputStream definitionInputStream); void saveExperimentDeploymentDescriptor(String experimentID,
      InputStream definitionInputStream); InputStream getExperimentDeploymentDescriptor(String experimentID); void copyDeploymentDescriptorForDriversMaker(String experimentID,
      String driversMakerExperimentID, long experimentNumber); void saveExperimentBPMNModel(String experimentID, String modelName,
      InputStream definitionInputStream); InputStream getExperimentBPMNModel(String experimentID, String modelName); List<String> getAllTestBPMNModels(final String experimentID); void copyExperimentBPMNModelForDriversMaker(String experimentID,
      String driversMakerExperimentID, String modelName); InputStream getDriversMakerGeneratedBenchmark(String driversMakerExperimentID,
      long experimentNumber); InputStream getDriversMakerGeneratedFabanConfiguration(String driversMakerExperimentID,
      long experimentNumber, long trialNumber);  }
@Test public void isValidExperimentID() throws Exception { }