METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . IDENT_2 s = IDENT_3 . METHOD_1 ( ) . METHOD_2 ( ) ; s . METHOD_3 ( STRING_0 ) ; s . METHOD_4 ( ) . close ( ) ; java . util . concurrent . IDENT_4 IDENT_5 = java . util . concurrent . IDENT_6 . METHOD_5 ( 1 ) ; java . util . concurrent . IDENT_7 < byte [ ] > reader = IDENT_5 . METHOD_6 ( new java . util . concurrent . IDENT_8 < byte [ ] > ( ) { public byte [ ] call ( ) throws com . IDENT_0 . IDENT_1 . channel . Exception { java . io . ByteArrayOutputStream IDENT_9 = new java . io . ByteArrayOutputStream ( ) ; org . apache . commons . io . IDENT_10 . METHOD_7 ( s . METHOD_8 ( ) , IDENT_9 ) ; return IDENT_9 . toByteArray ( ) ; } } ) ; byte [ ] data = new byte [ ( 10 * INT_0 ) * INT_0 ] ; java . util . IDENT_11 r = new java . util . METHOD_9 ( ) ; r . METHOD_10 ( data ) ; int IDENT_12 ; for ( int i = 0 ; i < ( data . length ) ; i += IDENT_12 ) { IDENT_12 = java . lang . Math . min ( ( ( data . length ) - i ) , r . METHOD_11 ( INT_1 ) ) ; s . METHOD_12 ( ) . write ( data , i , IDENT_12 ) ; } s . METHOD_12 ( ) . close ( ) ; "<AssertPlaceHolder>" ; } close ( ) { MOD_0 ( IDENT_13 ) { if ( IDENT_14 ) return ; IDENT_14 = true ; IDENT_15 = true ; IDENT_13 . METHOD_13 ( ) ; is . close ( ) ; } }
org . junit . Assert . assertArrayEquals ( data , reader . get ( ) )