METHOD_0 ( ) { final org . IDENT_0 . util . concurrent . IDENT_1 < java . net . IDENT_2 > IDENT_3 = new org . IDENT_0 . util . concurrent . IDENT_1 < java . net . IDENT_2 > ( ) ; connection . METHOD_1 ( new org . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . METHOD_2 ( ) { @ org . IDENT_0 . IDENT_4 . IDENT_5 . Override public void METHOD_3 ( java . lang . String host , int port ) { IDENT_3 . METHOD_4 ( new java . net . METHOD_5 ( host , port ) ) ; } @ org . IDENT_0 . IDENT_4 . IDENT_5 . Override public void METHOD_6 ( java . lang . String IDENT_8 , int IDENT_9 , java . io . InputStream IDENT_10 , java . io . IDENT_11 IDENT_12 ) { System . out . println ( ( ( ( ( STRING_0 + IDENT_8 ) + STRING_1 ) + IDENT_9 ) + "]" ) ) ; try { IDENT_12 . write ( STRING_2 . getBytes ( ) ) ; org . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_13 . METHOD_7 ( IDENT_10 , System . out ) ; IDENT_10 . close ( ) ; IDENT_12 . close ( ) ; System . out . println ( STRING_3 ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; } } } ) ; java . net . IDENT_2 IDENT_14 = IDENT_3 . get ( ) ; System . out . println ( ( STRING_4 + IDENT_14 ) ) ; java . net . IDENT_15 IDENT_16 = new java . net . METHOD_8 ( ) ; IDENT_16 . connect ( IDENT_14 ) ; IDENT_16 . METHOD_9 ( ) . write ( STRING_5 . getBytes ( ) ) ; java . lang . Thread . sleep ( INT_0 ) ; org . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_13 . METHOD_10 ( IDENT_16 . METHOD_11 ( ) , System . err ) ; java . lang . Thread . sleep ( INT_0 ) ; IDENT_16 . close ( ) ; System . out . println ( STRING_6 ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( ) { return IDENT_17 ; }
org . junit . Assert . assertTrue ( IDENT_16 . METHOD_12 ( ) )