METHOD_0 ( ) { final com . IDENT_0 . crypto . IDENT_1 . shared . domain . IDENT_2 tx = com . IDENT_0 . crypto . IDENT_1 . client . util . transaction . IDENT_3 . METHOD_1 ( com . googlecode . IDENT_4 . crypto . IDENT_5 . util . IDENT_6 . IDENT_7 . decode ( com . IDENT_0 . crypto . IDENT_1 . client . util . transaction . IDENT_8 . IDENT_9 ) ) ; final com . IDENT_0 . crypto . IDENT_1 . shared . domain . IDENT_10 IDENT_11 = com . IDENT_0 . crypto . IDENT_1 . client . util . transaction . IDENT_12 . METHOD_2 ( tx ) ; final java . util . ArrayList < java . lang . IDENT_13 > bytes = new java . util . ArrayList < java . lang . IDENT_13 > ( ) ; for ( final java . util . Map . Entry < com . IDENT_0 . crypto . IDENT_1 . shared . domain . IDENT_14 , byte [ ] > IDENT_15 : IDENT_11 ) { for ( final byte IDENT_16 : IDENT_15 . getValue ( ) ) { bytes . add ( IDENT_16 ) ; } } final byte [ ] IDENT_17 = new byte [ bytes . size ( ) ] ; int i = 0 ; for ( final byte IDENT_16 : bytes ) { IDENT_17 [ ( i ++ ) ] = IDENT_16 ; } final byte [ ] encode = com . googlecode . IDENT_4 . crypto . IDENT_5 . util . IDENT_6 . IDENT_7 . encode ( IDENT_17 ) ; "<AssertPlaceHolder>" ; } encode ( byte [ ] ) { if ( ( input . length ) == 0 ) { return "" ; } input = com . IDENT_0 . crypto . IDENT_1 . client . util . address . IDENT_18 . METHOD_3 ( input , 0 , input . length ) ; int IDENT_19 = 0 ; while ( ( IDENT_19 < ( input . length ) ) && ( ( input [ IDENT_19 ] ) == 0 ) ) { ++ IDENT_19 ; } final byte [ ] IDENT_20 = new byte [ ( input . length ) * 2 ] ; int j = IDENT_20 . length ; int IDENT_21 = IDENT_19 ; while ( IDENT_21 < ( input . length ) ) { final byte IDENT_22 = com . IDENT_0 . crypto . IDENT_1 . client . util . address . IDENT_18 . METHOD_4 ( input , IDENT_21 ) ; if ( ( input [ IDENT_21 ] ) == 0 ) { ++ IDENT_21 ; } IDENT_20 [ ( OP_0 j ) ] = ( ( byte ) ( com . IDENT_0 . crypto . IDENT_1 . client . util . address . IDENT_18 . IDENT_23 [ IDENT_22 ] ) ) ; } while ( ( j < ( IDENT_20 . length ) ) && ( ( IDENT_20 [ j ] ) == ( com . IDENT_0 . crypto . IDENT_1 . client . util . address . IDENT_18 . IDENT_23 [ 0 ] ) ) ) { ++ j ; } while ( ( OP_0 IDENT_19 ) >= 0 ) { IDENT_20 [ ( OP_0 j ) ] = ( ( byte ) ( com . IDENT_0 . crypto . IDENT_1 . client . util . address . IDENT_18 . IDENT_23 [ 0 ] ) ) ; } final byte [ ] output = com . IDENT_0 . crypto . IDENT_1 . client . util . address . IDENT_18 . METHOD_3 ( IDENT_20 , j , IDENT_20 . length ) ; return com . IDENT_0 . crypto . IDENT_1 . client . util . IDENT_24 . METHOD_5 ( output ) ; }
org . junit . Assert . assertEquals ( com . IDENT_0 . crypto . IDENT_1 . client . util . transaction . IDENT_8 . IDENT_9 , new java . lang . String ( encode ) )