METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final java . lang . String IDENT_2 = STRING_2 ; final java . lang . String IDENT_3 = STRING_3 ; java . util . Map < java . lang . String , java . lang . String > source = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; source . put ( IDENT_3 , IDENT_1 ) ; java . lang . String result = org . apache . IDENT_4 . jms . util . IDENT_5 . METHOD_1 ( source ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . Map ) { try { if ( ( options . size ( ) ) > 0 ) { java . lang . StringBuffer IDENT_6 = new java . lang . StringBuffer ( ) ; boolean first = true ; for ( java . util . Map . Entry < java . lang . String , ? extends java . lang . Object > entry : options . entrySet ( ) ) { if ( first ) { first = false ; } else { IDENT_6 . append ( STRING_4 ) ; } IDENT_6 . append ( java . net . IDENT_7 . encode ( entry . getKey ( ) , org . apache . IDENT_4 . jms . util . IDENT_5 . IDENT_8 ) ) ; IDENT_6 . append ( STRING_5 ) ; IDENT_6 . append ( java . net . IDENT_7 . encode ( ( ( java . lang . String ) ( entry . getValue ( ) ) ) , org . apache . IDENT_4 . jms . util . IDENT_5 . IDENT_8 ) ) ; } return IDENT_6 . toString ( ) ; } else { return "" ; } } catch ( java . io . IDENT_9 e ) { throw ( ( java . net . IDENT_10 ) ( new java . net . METHOD_2 ( e . toString ( ) , STRING_6 ) . METHOD_3 ( e ) ) ) ; } }
org . junit . Assert . assertEquals ( ( ( IDENT_2 + STRING_5 ) + IDENT_0 ) , result )