METHOD_0 ( ) { java . lang . String expected = ( java . util . Arrays . asList ( IDENT_0 ) . contains ( IDENT_1 ) ) ? IDENT_1 . toString ( ) : input ; "<AssertPlaceHolder>" ; } encode ( char [ ] , java . lang . String ) { java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; for ( int offset = 0 ; offset < ( input . length ( ) ) ; ) { final int IDENT_2 = input . METHOD_1 ( offset ) ; if ( java . lang . IDENT_3 . METHOD_2 ( IDENT_2 ) ) { sb . append ( METHOD_3 ( IDENT_4 , IDENT_2 ) ) ; } offset += java . lang . IDENT_3 . METHOD_4 ( IDENT_2 ) ; } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , codec . encode ( IDENT_0 , IDENT_1 . toString ( ) ) )