METHOD_0 ( ) { System . out . println ( STRING_0 ) ; java . lang . String data = "" ; IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 instance = new IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 . METHOD_1 ( ) ; java . nio . ByteBuffer expResult = null ; java . nio . ByteBuffer result = instance . encode ( data ) ; "<AssertPlaceHolder>" ; } encode ( java . lang . String ) { if ( ( IDENT_6 ) == null ) { try { IDENT_6 = new IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 ( new IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . File ( STRING_1 ) ) ; } catch ( IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_7 ex ) { throw new java . lang . RuntimeException ( ex ) ; } } org . IDENT_8 . IDENT_9 . Message msg = new org . IDENT_8 . IDENT_9 . Message ( ) ; java . lang . String [ ] IDENT_10 = data . split ( IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_11 ) ; for ( java . lang . String IDENT_12 : IDENT_10 ) { msg . METHOD_3 ( METHOD_4 ( IDENT_12 ) , IDENT_13 . IDENT_14 ) ; } try { final byte [ ] IDENT_15 = msg . METHOD_5 ( ) ; IDENT_6 . write ( java . lang . Integer . toString ( ( ( IDENT_15 . length ) * 2 ) ) . getBytes ( STRING_2 ) ) ; IDENT_6 . write ( STRING_3 ) ; IDENT_6 . write ( org . apache . IDENT_16 . util . IDENT_17 . METHOD_6 ( IDENT_15 ) ) ; IDENT_6 . write ( STRING_3 ) ; } catch ( IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IOException ex ) { throw new java . lang . RuntimeException ( ex ) ; } return java . nio . ByteBuffer . METHOD_7 ( msg . METHOD_5 ( ) ) ; }
org . junit . Assert . assertEquals ( expResult , result )