METHOD_0 ( ) { final byte [ ] msg = STRING_0 . getBytes ( STRING_1 ) ; IDENT_0 . METHOD_1 ( new com . IDENT_1 . IDENT_2 . nio . IDENT_3 . METHOD_2 ( ) { @ com . IDENT_1 . IDENT_2 . nio . Override public void execute ( java . net . IDENT_4 IDENT_5 , java . net . IDENT_6 IDENT_7 ) throws java . io . IOException { IDENT_7 . METHOD_3 ( ) . write ( msg ) ; IDENT_7 . METHOD_3 ( ) . METHOD_4 ( ) ; } } ) ; com . IDENT_1 . IDENT_2 . nio . IDENT_6 . IDENT_8 IDENT_9 = IDENT_7 . read ( ) ; com . IDENT_1 . IDENT_2 . nio . IDENT_6 . IDENT_10 IDENT_11 = IDENT_7 . connect ( ) ; IDENT_11 . get ( ) ; java . nio . ByteBuffer buf = IDENT_9 . get ( ) ; java . nio . ByteBuffer expected = java . nio . ByteBuffer . METHOD_5 ( msg ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . util . IDENT_12 ) { return IDENT_13 != null ? java . util . Collections . METHOD_6 ( IDENT_13 ) : java . util . Collections . < IDENT_14 > emptyList ( ) ; }
org . junit . Assert . assertTrue ( ( ( expected . compareTo ( buf ) ) == 0 ) )