METHOD_0 ( ) { java . lang . String data = STRING_0 ; org . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . IDENT_4 instance = new org . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . METHOD_1 ( ) ; org . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_5 . api . IDENT_6 IDENT_5 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_5 . api . IDENT_6 . class ) ; METHOD_2 ( METHOD_3 ( ) ) . when ( IDENT_5 ) . decode ( org . mockito . Mockito . any ( byte [ ] . class ) ) ; METHOD_2 ( METHOD_3 ( ) ) . when ( IDENT_5 ) . encode ( org . mockito . Mockito . any ( byte [ ] . class ) ) ; instance . METHOD_4 ( IDENT_5 ) ; byte [ ] out = instance . METHOD_5 ( data . getBytes ( STRING_1 ) ) ; byte [ ] IDENT_7 = instance . METHOD_6 ( out ) ; java . lang . String IDENT_8 = new java . lang . String ( IDENT_7 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( byte [ ] ) { java . io . ByteArrayOutputStream IDENT_9 = new java . io . ByteArrayOutputStream ( ) ; java . util . IDENT_10 . IDENT_11 IDENT_12 = new java . util . IDENT_10 . METHOD_7 ( ) ; IDENT_12 . METHOD_8 ( IDENT_5 . decode ( data ) ) ; byte [ ] buffer = new byte [ data . length ] ; while ( ! ( IDENT_12 . METHOD_9 ( ) ) ) { int count = IDENT_12 . METHOD_10 ( buffer ) ; IDENT_9 . write ( buffer , 0 , count ) ; if ( IDENT_12 . METHOD_11 ( ) ) { break ; } if ( IDENT_12 . METHOD_12 ( ) ) { } } IDENT_12 . METHOD_13 ( ) ; IDENT_12 . end ( ) ; return IDENT_5 . decode ( IDENT_9 . toByteArray ( ) ) ; }
org . junit . Assert . assertEquals ( data , IDENT_8 )