METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 client = org . apache . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; client . start ( ) ; org . apache . IDENT_0 . IDENT_2 session = client . connect ( STRING_0 , port ) . METHOD_2 ( ) . METHOD_3 ( ) ; session . METHOD_4 ( STRING_1 , STRING_1 ) ; org . apache . IDENT_0 . IDENT_3 channel = session . METHOD_5 ( IDENT_3 . IDENT_4 ) ; java . io . ByteArrayOutputStream IDENT_5 = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_6 IDENT_7 = new org . apache . IDENT_0 . util . METHOD_6 ( IDENT_5 ) ; channel . METHOD_7 ( new java . io . METHOD_8 ( IDENT_7 ) ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; java . io . ByteArrayOutputStream err = new java . io . ByteArrayOutputStream ( ) ; channel . METHOD_9 ( out ) ; channel . METHOD_10 ( err ) ; channel . METHOD_11 ( ) . METHOD_2 ( ) ; long IDENT_8 = java . lang . System . currentTimeMillis ( ) ; int bytes = 0 ; for ( int i = 0 ; i < INT_0 ; i ++ ) { byte [ ] data = STRING_2 . getBytes ( ) ; IDENT_7 . write ( data ) ; IDENT_7 . METHOD_12 ( ) ; bytes += data . length ; if ( ( bytes & - INT_1 ) != ( ( bytes - ( data . length ) ) & - INT_1 ) ) { System . out . println ( ( STRING_3 + bytes ) ) ; } } IDENT_7 . write ( STRING_4 . getBytes ( ) ) ; IDENT_7 . METHOD_12 ( ) ; long IDENT_9 = java . lang . System . currentTimeMillis ( ) ; System . out . println ( ( ( ( ( STRING_5 + ( bytes / INT_2 ) ) + STRING_6 ) + ( IDENT_9 - IDENT_8 ) ) + STRING_7 ) ) ; System . out . println ( STRING_8 ) ; channel . METHOD_13 ( IDENT_3 . IDENT_10 , 0 ) ; channel . close ( false ) ; client . METHOD_14 ( ) ; "<AssertPlaceHolder>" ; } equals ( byte [ ] , byte [ ] ) { if ( ( IDENT_11 . length ) != ( IDENT_12 . length ) ) { return false ; } return org . apache . IDENT_0 . common . util . IDENT_13 . equals ( IDENT_11 , 0 , IDENT_12 , 0 , IDENT_11 . length ) ; }
org . junit . Assert . assertTrue ( org . apache . IDENT_0 . common . util . IDENT_13 . equals ( IDENT_5 . toByteArray ( ) , out . toByteArray ( ) ) )