METHOD_0 ( ) { System . out . println ( STRING_0 ) ; org . IDENT_0 . commons . IDENT_1 < java . lang . String , java . lang . String > params = new org . IDENT_0 . commons . IDENT_2 < java . lang . String , java . lang . String > ( ) ; params . put ( STRING_1 , STRING_2 ) ; params . put ( STRING_1 , STRING_3 ) ; java . lang . String expResult = STRING_4 ; java . lang . String result = org . IDENT_0 . IDENT_3 . util . IDENT_4 . METHOD_1 ( params ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . IDENT_0 . commons . IDENT_1 ) { final java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; for ( java . lang . String key : params . METHOD_2 ( ) ) { try { for ( final java . lang . String value : params . get ( key ) ) { java . lang . String IDENT_5 = java . net . IDENT_6 . encode ( key , org . IDENT_0 . IDENT_3 . util . IDENT_4 . IDENT_7 ) ; java . lang . String IDENT_8 = java . net . IDENT_6 . encode ( value , org . IDENT_0 . IDENT_3 . util . IDENT_4 . IDENT_7 ) ; sb . append ( IDENT_5 ) . append ( STRING_5 ) . append ( IDENT_8 ) . append ( STRING_6 ) ; } } catch ( org . IDENT_0 . IDENT_3 . util . IDENT_9 ex ) { assert true : STRING_7 ; } } sb . METHOD_3 ( ( ( sb . length ( ) ) - 1 ) ) ; return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( expResult , result )