void function ( ) { Mockito . when ( mClient . listObjectsV2 ( Matchers . any ( ListObjectsV2Request . class ) ) ) . thenThrow ( AmazonClientException . class ) ; boolean loc0 = mS3UnderFileSystem . delete ( PATH , true ) ; Assert . assertFalse ( loc0 ) ; }
test case for s3aunderfilesystem #delete string , boolean . concode_field_sep TransferManager mManager concode_elem_sep String BUCKET_PREFIX concode_elem_sep AmazonS3Client mClient concode_elem_sep String DST concode_elem_sep S3AUnderFileSystem mS3UnderFileSystem concode_elem_sep String SRC concode_elem_sep String ACCOUNT_OWNER concode_elem_sep String PATH concode_elem_sep String BUCKET_NAME concode_elem_sep short BUCKET_MODE concode_field_sep void renameOnAmazonClientException concode_elem_sep void before concode_elem_sep void deleteNonRecursiveOnAmazonClientException