METHOD_0 ( ) { final ch . cyberduck . core . IDENT_0 . IDENT_1 IDENT_2 = this . METHOD_1 ( ) ; final java . io . ByteArrayOutputStream IDENT_3 = new java . io . ByteArrayOutputStream ( ) ; final org . IDENT_0 . IDENT_4 . api . IDENT_5 header = IDENT_2 . METHOD_2 ( ) . METHOD_3 ( ) . create ( ) ; final ch . cyberduck . core . IDENT_0 . IDENT_6 < ? > stream = new ch . cyberduck . core . IDENT_0 . METHOD_4 ( new ch . cyberduck . core . io . IDENT_7 < java . lang . IDENT_8 > ( IDENT_3 ) { @ ch . cyberduck . core . IDENT_0 . Override public ch . cyberduck . core . IDENT_0 . IDENT_8 getStatus ( ) { return null ; } } , IDENT_2 . METHOD_2 ( ) , header , new ch . cyberduck . core . IDENT_0 . random . METHOD_5 ( ) , 0 ) ; final byte [ ] IDENT_9 = org . apache . commons . lang3 . IDENT_10 . METHOD_6 ( ( ( IDENT_2 . METHOD_2 ( ) . METHOD_7 ( ) . METHOD_8 ( ) ) + 1 ) ) ; stream . write ( IDENT_9 , 0 , IDENT_9 . length ) ; stream . close ( ) ; final byte [ ] read = new byte [ IDENT_9 . length ] ; final ch . cyberduck . core . IDENT_0 . IDENT_11 IDENT_12 = new ch . cyberduck . core . IDENT_0 . METHOD_9 ( new java . io . ByteArrayInputStream ( IDENT_3 . toByteArray ( ) ) , IDENT_2 . METHOD_2 ( ) , header , 0 ) ; org . apache . commons . io . IDENT_13 . METHOD_10 ( IDENT_12 , read ) ; IDENT_12 . close ( ) ; "<AssertPlaceHolder>" ; } close ( ) { try { final com . IDENT_14 . sdk . crypto . model . IDENT_15 IDENT_16 = IDENT_17 . METHOD_11 ( ) ; super . write ( IDENT_16 . METHOD_12 ( ) ) ; final java . lang . String IDENT_18 = com . IDENT_14 . sdk . crypto . IDENT_19 . METHOD_13 ( IDENT_16 . METHOD_14 ( ) ) ; final com . fasterxml . jackson . databind . IDENT_20 reader = session . METHOD_15 ( ) . METHOD_16 ( ) . METHOD_17 ( null ) . METHOD_18 ( ch . cyberduck . core . IDENT_21 . io . IDENT_22 . client . model . IDENT_23 . class ) ; final ch . cyberduck . core . IDENT_21 . io . IDENT_22 . client . model . IDENT_23 IDENT_24 = reader . METHOD_19 ( status . METHOD_20 ( ) . array ( ) ) ; IDENT_24 . METHOD_21 ( IDENT_18 ) ; final com . fasterxml . jackson . databind . IDENT_25 writer = session . METHOD_15 ( ) . METHOD_16 ( ) . METHOD_17 ( null ) . METHOD_22 ( ch . cyberduck . core . IDENT_21 . io . IDENT_22 . client . model . IDENT_23 . class ) ; final java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; writer . METHOD_23 ( out , IDENT_24 ) ; status . METHOD_24 ( java . nio . ByteBuffer . METHOD_25 ( out . toByteArray ( ) ) ) ; } catch ( com . IDENT_14 . sdk . crypto . IDENT_26 e ) { throw new java . io . IOException ( e ) ; } finally { super . close ( ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_9 , read )