@Test void testDeleteFile() throws IOException, XmlPullParserException, NoSuchAlgorithmException, InvalidKeyException, InvalidArgumentException, InvalidResponseException, ErrorResponseException, NoResponseException, InvalidBucketNameException, InsufficientDataException, InternalException { fileManager.deleteFile(minioClient,bucketName,objectName); assertFalse(fileManager.checkFileExist(minioClient,bucketName,objectName)); }
public void deleteFile(MinioClient minioClient, String bucketName, String objectName) throws IOException, InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException, InvalidResponseException, InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException, ErrorResponseException { minioClient.removeObject(bucketName, objectName); }
FileManager { public void deleteFile(MinioClient minioClient, String bucketName, String objectName) throws IOException, InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException, InvalidResponseException, InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException, ErrorResponseException { minioClient.removeObject(bucketName, objectName); } }
FileManager { public void deleteFile(MinioClient minioClient, String bucketName, String objectName) throws IOException, InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException, InvalidResponseException, InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException, ErrorResponseException { minioClient.removeObject(bucketName, objectName); }  }
FileManager { public void deleteFile(MinioClient minioClient, String bucketName, String objectName) throws IOException, InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException, InvalidResponseException, InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException, ErrorResponseException { minioClient.removeObject(bucketName, objectName); }  void uploadFile(MinioClient minioClient, String bucketName, String objectName, String filePath); void downloadFile(MinioClient minioClient, String bucketName, String objectName, String downloadPath); void deleteFile(MinioClient minioClient, String bucketName, String objectName); void listFile(MinioClient minioClient, String bucketName); void getObjectStat(MinioClient minioClient, String bucketName, String objectName); boolean checkFileExist(MinioClient minioClient, String bucketName, String objectName); }
FileManager { public void deleteFile(MinioClient minioClient, String bucketName, String objectName) throws IOException, InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException, InvalidResponseException, InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException, ErrorResponseException { minioClient.removeObject(bucketName, objectName); }  void uploadFile(MinioClient minioClient, String bucketName, String objectName, String filePath); void downloadFile(MinioClient minioClient, String bucketName, String objectName, String downloadPath); void deleteFile(MinioClient minioClient, String bucketName, String objectName); void listFile(MinioClient minioClient, String bucketName); void getObjectStat(MinioClient minioClient, String bucketName, String objectName); boolean checkFileExist(MinioClient minioClient, String bucketName, String objectName);  }