test case for s3underfilesystem #renamefile string , string . concode_field_sep S3Service mClient concode_elem_sep String DST concode_elem_sep S3UnderFileSystem 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 before concode_elem_sep void deleteNonRecursiveOnServiceException concode_elem_sep void deleteRecursiveOnServiceException
void function ( ) { Mockito . when ( mClient . listObjectsChunked ( Matchers . anyString ( ) , Matchers . anyString ( ) , Matchers . anyString ( ) , Matchers . anyLong ( ) , Matchers . anyString ( ) ) ) . thenThrow ( ServiceException . class ) ; boolean loc0 = mS3UnderFileSystem . renameFile ( SRC , DST ) ; Assert . assertFalse ( loc0 ) ; }