METHOD_0 ( ) { final java . lang . String payload = "foo" ; final java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; final java . util . IDENT_1 . IDENT_2 IDENT_3 = new java . util . IDENT_1 . METHOD_1 ( IDENT_0 ) ; IDENT_3 . write ( payload . toString ( ) . getBytes ( STRING_0 ) ) ; IDENT_3 . close ( ) ; final java . lang . String IDENT_4 = net . IDENT_5 . auth . internal . IDENT_6 . METHOD_2 ( IDENT_0 . toByteArray ( ) ) ; final java . util . IDENT_1 . IDENT_7 is = new java . util . IDENT_1 . METHOD_3 ( new java . io . ByteArrayInputStream ( net . IDENT_5 . auth . internal . IDENT_6 . decode ( IDENT_4 ) ) ) ; @ net . IDENT_5 . auth . test . METHOD_4 ( STRING_1 ) final java . lang . String IDENT_8 = new java . util . METHOD_5 ( is ) . METHOD_6 ( STRING_2 ) . next ( ) ; is . close ( ) ; "<AssertPlaceHolder>" ; } decode ( java . lang . String ) { final byte [ ] buffer = new byte [ net . IDENT_5 . auth . internal . IDENT_6 . METHOD_7 ( IDENT_9 ) ] ; net . IDENT_5 . auth . internal . IDENT_6 . decode ( IDENT_9 , buffer , 0 ) ; return buffer ; }
org . junit . Assert . assertEquals ( payload , IDENT_8 )