void function ( ) { Mockito . when ( mClient . listObjects ( Matchers . any ( ListObjectsRequest . class ) ) ) . thenThrow ( ServiceException . class ) ; boolean loc0 = mOSSUnderFileSystem . rename ( SRC , DST ) ; Assert . assertFalse ( loc0 ) ; }
test case for ossunderfilesystem #rename string , string . concode_field_sep String BUCKET_PREFIX concode_elem_sep OSSClient mClient concode_elem_sep String DST concode_elem_sep String SRC concode_elem_sep OSSUnderFileSystem mOSSUnderFileSystem concode_elem_sep String PATH concode_elem_sep String BUCKET_NAME concode_field_sep void before concode_elem_sep void deleteNonRecursiveOnServiceException concode_elem_sep void deleteRecursiveOnServiceException