METHOD_0 ( ) { final ch . cyberduck . core . IDENT_0 IDENT_1 = new ch . cyberduck . core . METHOD_1 ( java . lang . System . getProperty ( STRING_0 ) , java . util . UUID . METHOD_2 ( ) . toString ( ) ) ; final int length = INT_0 ; final byte [ ] content = org . apache . commons . lang3 . IDENT_2 . METHOD_3 ( length ) ; final java . io . IDENT_3 out = IDENT_1 . METHOD_4 ( false ) ; org . apache . commons . io . IDENT_4 . write ( content , out ) ; out . close ( ) ; final ch . cyberduck . core . Path test = new ch . cyberduck . core . Path ( new ch . cyberduck . core . shared . METHOD_5 ( session ) . find ( ) , java . util . UUID . METHOD_2 ( ) . toString ( ) , java . util . IDENT_5 . of ( Path . Type . file ) ) ; { final ch . cyberduck . core . IDENT_6 . IDENT_7 status = new ch . cyberduck . core . IDENT_6 . METHOD_6 ( ) . length ( ( ( content . length ) / 2 ) ) ; new ch . cyberduck . core . IDENT_8 . METHOD_7 ( new ch . cyberduck . core . IDENT_8 . METHOD_8 ( session ) ) . METHOD_9 ( test , IDENT_1 , new ch . cyberduck . core . io . METHOD_10 ( ch . cyberduck . core . io . METHOD_10 . IDENT_9 ) , new ch . cyberduck . core . io . METHOD_11 ( ) , status , new ch . cyberduck . core . METHOD_12 ( ) ) ; } { final ch . cyberduck . core . IDENT_6 . METHOD_6 status = new ch . cyberduck . core . IDENT_6 . METHOD_6 ( ) . length ( ( ( content . length ) / 2 ) ) . METHOD_13 ( ( ( content . length ) / 2 ) ) . append ( true ) ; new ch . cyberduck . core . IDENT_8 . METHOD_7 ( new ch . cyberduck . core . IDENT_8 . METHOD_8 ( session ) ) . METHOD_9 ( test , IDENT_1 , new ch . cyberduck . core . io . METHOD_10 ( ch . cyberduck . core . io . METHOD_10 . IDENT_9 ) , new ch . cyberduck . core . io . METHOD_11 ( ) , status , new ch . cyberduck . core . METHOD_12 ( ) ) ; } final byte [ ] buffer = new byte [ content . length ] ; final java . io . InputStream in = new ch . cyberduck . core . IDENT_8 . METHOD_14 ( session ) . read ( test , new ch . cyberduck . core . IDENT_6 . METHOD_6 ( ) . length ( content . length ) , new ch . cyberduck . core . METHOD_12 ( ) ) ; org . apache . commons . io . IDENT_4 . METHOD_15 ( in , buffer ) ; in . close ( ) ; "<AssertPlaceHolder>" ; new ch . cyberduck . core . IDENT_8 . METHOD_16 ( session ) . delete ( java . util . Collections . singletonList ( test ) , new ch . cyberduck . core . METHOD_17 ( ) , new ch . cyberduck . core . IDENT_10 . IDENT_11 . METHOD_18 ( ) ) ; IDENT_1 . delete ( ) ; } close ( ) { try { super . close ( ) ; } finally { METHOD_19 ( IDENT_12 ) ; } }
org . junit . Assert . assertArrayEquals ( content , buffer )