@Test void testRemoveObject() throws IOException, InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException, InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException, ErrorResponseException { String objectName = "MyObjectName"; minioClientFacade.removeObject(objectName); verify(minioClient).removeObject(bucketName, objectName); }
void removeObject(String objectName) throws InvalidBucketNameException, NoSuchAlgorithmException, InsufficientDataException, IOException, InvalidKeyException, NoResponseException, XmlPullParserException, ErrorResponseException, InternalException, InvalidArgumentException { LOG.trace("Removing object '{}' in bucket '{}' ...", objectName, bucketName); minioClient.removeObject(bucketName, objectName); LOG.debug("Removed object '{}' in bucket '{}'", objectName, bucketName); }
MinioClientFacade { void removeObject(String objectName) throws InvalidBucketNameException, NoSuchAlgorithmException, InsufficientDataException, IOException, InvalidKeyException, NoResponseException, XmlPullParserException, ErrorResponseException, InternalException, InvalidArgumentException { LOG.trace("Removing object '{}' in bucket '{}' ...", objectName, bucketName); minioClient.removeObject(bucketName, objectName); LOG.debug("Removed object '{}' in bucket '{}'", objectName, bucketName); } }
MinioClientFacade { void removeObject(String objectName) throws InvalidBucketNameException, NoSuchAlgorithmException, InsufficientDataException, IOException, InvalidKeyException, NoResponseException, XmlPullParserException, ErrorResponseException, InternalException, InvalidArgumentException { LOG.trace("Removing object '{}' in bucket '{}' ...", objectName, bucketName); minioClient.removeObject(bucketName, objectName); LOG.debug("Removed object '{}' in bucket '{}'", objectName, bucketName); } MinioClientFacade(MinioClient minioClient, String bucketName); }
MinioClientFacade { void removeObject(String objectName) throws InvalidBucketNameException, NoSuchAlgorithmException, InsufficientDataException, IOException, InvalidKeyException, NoResponseException, XmlPullParserException, ErrorResponseException, InternalException, InvalidArgumentException { LOG.trace("Removing object '{}' in bucket '{}' ...", objectName, bucketName); minioClient.removeObject(bucketName, objectName); LOG.debug("Removed object '{}' in bucket '{}'", objectName, bucketName); } MinioClientFacade(MinioClient minioClient, String bucketName);  }
MinioClientFacade { void removeObject(String objectName) throws InvalidBucketNameException, NoSuchAlgorithmException, InsufficientDataException, IOException, InvalidKeyException, NoResponseException, XmlPullParserException, ErrorResponseException, InternalException, InvalidArgumentException { LOG.trace("Removing object '{}' in bucket '{}' ...", objectName, bucketName); minioClient.removeObject(bucketName, objectName); LOG.debug("Removed object '{}' in bucket '{}'", objectName, bucketName); } MinioClientFacade(MinioClient minioClient, String bucketName);   }